__has_nothrow_copy_constructor

From RAD Studio
Jump to: navigation, search

Go Up to Type Trait Functions (C++11) Index


Category

Type Trait Functions

Syntax

bool __has_nothrow_copy_constructor ( typename T )

Returns true if and only if compiler can prove T has a copy constructor that cannot throw.

Error if T is an incomplete type.

True if __has_trivial_copy_constructor(T).

Ox interaction false if copy constructor is defined as deleted.

See Also