ARB
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
ARB_type_traits::is_base_of< B, D > Struct Template Reference

#include <downcast.h>

Collaboration diagram for ARB_type_traits::is_base_of< B, D >:
Collaboration graph
[legend]

Public Types

typedef const volatile B CVB
 
typedef const volatile D CVD
 

Static Public Member Functions

template<typename T >
static yes check (CVD *, T)
 
static no check (CVB *, int)
 

Static Public Attributes

static const bool value = sizeof(check(Host<CVB,CVD>(), int())) == sizeof(yes)
 

Detailed Description

template<typename B, typename D>
struct ARB_type_traits::is_base_of< B, D >

Definition at line 48 of file downcast.h.

Member Typedef Documentation

template<typename B , typename D >
typedef const volatile B ARB_type_traits::is_base_of< B, D >::CVB

Definition at line 49 of file downcast.h.

template<typename B , typename D >
typedef const volatile D ARB_type_traits::is_base_of< B, D >::CVD

Definition at line 50 of file downcast.h.

Member Function Documentation

template<typename B , typename D >
template<typename T >
static yes ARB_type_traits::is_base_of< B, D >::check ( CVD ,
T   
)
static
template<typename B , typename D >
static no ARB_type_traits::is_base_of< B, D >::check ( CVB ,
int   
)
static

Member Data Documentation

template<typename B , typename D >
const bool ARB_type_traits::is_base_of< B, D >::value = sizeof(check(Host<CVB,CVD>(), int())) == sizeof(yes)
static

Definition at line 55 of file downcast.h.


The documentation for this struct was generated from the following file: