ADTF
|
Usable for enable_if<>: Compile time check whether a struct class_versions<> is available. More...
Classes | |
struct | no |
Return value if interface_info<> does not exist. More... | |
struct | yes |
Return value if interface_info<> exists. More... | |
Static Public Attributes | |
static const bool | value = sizeof(exists<T>(nullptr)) == sizeof(yes) |
Evaluates to either size of yes or no, depending on existence of class_versions<> | |
Static Private Member Functions | |
template<typename C > | |
static yes | exists (typename C::template class_versions< static_cast< C * >(nullptr)> *=nullptr) |
Overload taken if the class_versions<> exists. More... | |
template<typename C > | |
static no | exists (...) |
Overload taken if the class_versions<> does not exist. More... | |
Usable for enable_if<>: Compile time check whether a struct class_versions<> is available.
T | The type to perform the check on. |
U | Inner type of the nested template to check for existence. |
Definition at line 61 of file class_info_detail.h.
|
staticprivate |
Overload taken if the class_versions<> does not exist.
C | Type to check existence of class_dependencies<> |