__has_nothrow_copy_constructor

From Appmethod Topics
Jump to: navigation, search

Go Up to Type Trait Functions (C++0x) 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