Show: Object Pascal C++
Display Preferences

__has_nothrow_assign

From Appmethod Topics
Jump to: navigation, search

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

Personal tools
In other languages