IsBaseOf is similar to std::is_base_of.
More...
#include "type_structs.h"
|
struct | Helper |
| Because the Derived type-cast operator is non-const, it is preferred over the Base operator when calling Test() below. More...
|
|
|
template<typename T > |
static char | Test (Derived *, T) |
| Overloaded function that chooses the Derived version iff Derived is actually derived from Base. More...
|
|
static int | Test (Base *, int) |
|
template<typename Base, typename Derived>
struct ion::base::IsBaseOf< Base, Derived >
IsBaseOf is similar to std::is_base_of.
IsBaseOf<Base, Derived>::value is true iff Base and Derived are different types and Base is a base class of Derived.
Definition at line 45 of file type_structs.h.
template<typename Base , typename Derived >
template<typename T >
Overloaded function that chooses the Derived version iff Derived is actually derived from Base.
The size of the return type is used to tell which version is selected.
template<typename Base , typename Derived >
template<typename Base , typename Derived >
The documentation for this struct was generated from the following file: