QxOrm
1.5.0
C++ Object Relational Mapping library
|
qx::trait::is_ptr_base_of<B, D>::value : return true if B and D are pointer type and (*B) is a base class of (*D) or if B and D are same type, otherwise return false More...
#include <is_ptr_base_of.h>
Public Types | |
enum | { value = (std::is_pointer<B>::value && std::is_pointer<D>::value && (sizeof(qx::trait::is_ptr_base_of<B, D>::removePtr(b, d)) == sizeof(char))) } |
typedef std::conditional < qx::trait::is_ptr_base_of< B, D >::value, std::true_type, std::false_type >::type | type |
Static Private Member Functions | |
template<typename V , typename W > | |
static std::conditional < std::is_base_of< V, W > ::value, char, int >::type | removePtr (const volatile V *const volatile, const volatile W *const volatile) |
static int | removePtr (...) |
Static Private Attributes | |
static B | b |
static D | d |
qx::trait::is_ptr_base_of<B, D>::value : return true if B and D are pointer type and (*B) is a base class of (*D) or if B and D are same type, otherwise return false
Definition at line 54 of file is_ptr_base_of.h.
typedef std::conditional<qx::trait::is_ptr_base_of<B, D>::value, std::true_type, std::false_type>::type qx::trait::is_ptr_base_of< B, D >::type |
Definition at line 70 of file is_ptr_base_of.h.
anonymous enum |
Definition at line 68 of file is_ptr_base_of.h.
static std::conditional<std::is_base_of<V, W>::value, char, int>::type qx::trait::is_ptr_base_of< B, D >::removePtr | ( | const volatile V *const | volatile, |
const volatile W *const | volatile | ||
) | [static, private] |
static int qx::trait::is_ptr_base_of< B, D >::removePtr | ( | ... | ) | [static, private] |
B qx::trait::is_ptr_base_of< B, D >::b [static, private] |
Definition at line 63 of file is_ptr_base_of.h.
D qx::trait::is_ptr_base_of< B, D >::d [static, private] |
Definition at line 64 of file is_ptr_base_of.h.