Ardour
9.0-pre0-582-g084a23a80d
|
#include <TypeTraits.h>
Static Public Attributes | |
static const bool | value = sizeof (test <ContainerTraits <T> >(0)) == sizeof (yes) |
Private Types | |
typedef char | yes[1] |
typedef char | no[2] |
Static Private Member Functions | |
template<typename C > | |
static no & | test (typename C::isNotContainer *) |
template<typename > | |
static yes & | test (...) |
Determine if type T is a container.
To be considered a container, there must be a specialization of ContainerTraits with the required fields.
Definition at line 76 of file TypeTraits.h.
|
private |
Definition at line 80 of file TypeTraits.h.
|
private |
Definition at line 79 of file TypeTraits.h.
|
staticprivate |
|
staticprivate |
|
static |
Definition at line 89 of file TypeTraits.h.