![]() |
GlobalObjects
|
Checks whether template parameters are classes and whether the class of the second template parameter is of the type of the class of the first template parameter or is derived from it. More...
#include <GloTOndemand.h>
Classes | |
struct | IsClass |
struct | No |
Static Public Attributes | |
static const bool | value |
Private Types | |
typedef char | Yes |
Static Private Member Functions | |
static No | Test (...) |
static Yes | Test (Base *) |
Checks whether template parameters are classes and whether the class of the second template parameter is of the type of the class of the first template parameter or is derived from it.
|
private |
Size: 1 byte
|
staticprivate |
This overload is chosen if the previous one does not fit (SFINAE).
|
staticprivate |
Function to check the conversion from 'Derived*' to 'Base*'.
This overload is selected if 'Derived*' is convertible to 'Base*'.
|
static |
If 'Test(Derived*)' selects the 'Yes' version, then Derived is derived from Base.
Referenced by glo::TOndemand< T >::TOndemand(), glo::TOndemand< T >::operator!=(), glo::TOndemand< T >::operator=(), and glo::TOndemand< T >::operator==().