Category
Type Trait Functions
Syntax
bool __has_trivial_assign (typename T )
Returns true if and only if T has a trivial copy assignment operator.
Error if T is an incomplete type.
The definition from Section 20.4.4.3 of the Working Draft notes says a type T has a trivial copy assignment operator if T is neither const nor a reference type and T is one of:
Ox interaction false if the copy assign operator is defined as deleted.
Ox interaction false if the copy assign operator is defined as deleted.
Ox interaction false if the default constructor is defined as deleted.
Ox interaction with default function definitions.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|