RAD Studio
ContentsIndex
PreviousUpNext
__has_nothrow_default_constructor

Category 

Type Trait Functions 

Syntax 

bool __has_nothrow_default_constructor (typename T ) 

Returns true if and only if T can prove T has a default constructor it cannot throw. 

Error if T is an incomplete type. 

True if __has_trivial_default_constructor(T)

True if default constructor has an empty exception specification. 

False (but well-formed) if a class type does not have a default constructor. 

False if T is a reference type. 

Ox interaction false if the default constructor is defined as deleted. 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!