MADNESS
version 0.9
|
True if A is derived from B and is not B. More...
#include <typestuff.h>
Public Types | |
typedef char | yes |
typedef int | no |
Static Public Member Functions | |
static no | f (...) |
static yes | f (B *) |
Static Public Attributes | |
static const bool | value = (sizeof(f((A*)0)) == sizeof(yes)) |
True if A is derived from B and is not B.
typedef int madness::is_derived_from< A, B >::no |
typedef char madness::is_derived_from< A, B >::yes |
|
static |
|
static |
|
static |