Avro C++
|
Similar to is_defined, but used to check if T is not defined. More...
#include <AvroTraits.hh>
Public Types | |
typedef char | yes[1] |
typedef char | no[2] |
Static Public Member Functions | |
template<class U > | |
static yes & | test (char(*)[sizeof(U)]) |
template<class U > | |
static no & | test (...) |
Static Public Attributes | |
static const bool | value = sizeof(test<T>(0)) == sizeof(no) |
Similar to is_defined, but used to check if T is not defined.
is_not_defined<T>::value will be true or false depending on whether T is an incomplete type or not respectively.