Ardour
9.0-pre0-582-g084a23a80d
|
#include <TypeTraits.h>
Public Types | |
typedef bool | isNotContainer |
Container traits.
Unspecialized ContainerTraits has the isNotContainer typedef for SFINAE. All user defined containers must supply an appropriate specialization for ContinerTraits (without the typedef isNotContainer). The containers that come with LuaBridge also come with the appropriate ContainerTraits specialization. See the corresponding declaration for details.
A specialization of ContainerTraits for some generic type ContainerType looks like this:
template <class T> struct ContainerTraits <ContainerType <T> > { typedef typename T Type; static T* get (ContainerType <T> const& c) { return c.get (); // Implementation-dependent on ContainerType } };
Definition at line 57 of file TypeTraits.h.
typedef bool ContainerTraits< T >::isNotContainer |
Definition at line 59 of file TypeTraits.h.