Category
Type Trait Functions
Syntax
bool __has_trivial_destructor (typename T )
Returns true if and only if T has a trivial destructor.
Errorif T is an incomplete type.
Note: Definition from 20.4.4.3 notes has a type T has a trivial destructor if T is one of:
According to Section 12.4, p 3 of the Working Draft, a destructor for class X is trivial if:
A destructor is not user provided if it is implicitly declared, or defined inline as = default;
Ox interaction false if the destructor 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!
|