Ion
|
HasTrivialDestructor is similar to std::has_trivial_destructor or std::is_trivially_destructible. More...
#include "type_structs.h"
Static Public Attributes | |
static const bool | value = __has_trivial_destructor(T) |
HasTrivialDestructor is similar to std::has_trivial_destructor or std::is_trivially_destructible.
Unfortunately, some STL implementations use std::has_trivial_destructor while some use std::is_trivially_destructible, and still others have neither. This version simply uses the builtin that is available on all platforms.
Definition at line 83 of file type_structs.h.
|
static |
Definition at line 84 of file type_structs.h.