__has_nothrow_assign

From RAD Studio
Jump to: navigation, search

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


Category

Type Trait Functions

Syntax

bool __has_nothrow_assign ( typename T )

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

True if __has_trivial_assign(T).

Also true if copy assignment operator has an empty exception specification.

Ox interaction false if copy assignment is defined as deleted.

See Also