SST/macro
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
sprockit::is_base_of< T, S > Struct Template Reference

#include <serialize.h>

Collaboration diagram for sprockit::is_base_of< T, S >:
Collaboration graph

Public Types

typedef char yes[1]
 
typedef char no[2]
 

Static Public Member Functions

static yescheck (S *)
 
static nocheck (...)
 

Static Public Attributes

static bool const value = sizeof(check(static_cast<T*>(0))) == sizeof(yes)
 

Detailed Description

template<typename T, typename S>
struct sprockit::is_base_of< T, S >

Definition at line 67 of file serialize.h.

Member Typedef Documentation

template<typename T , typename S >
typedef char sprockit::is_base_of< T, S >::no[2]

Definition at line 70 of file serialize.h.

template<typename T , typename S >
typedef char sprockit::is_base_of< T, S >::yes[1]

Definition at line 69 of file serialize.h.

Member Function Documentation

template<typename T , typename S >
static yes& sprockit::is_base_of< T, S >::check ( S *  )
static
template<typename T , typename S >
static no& sprockit::is_base_of< T, S >::check (   ...)
static

Member Data Documentation

template<typename T , typename S >
bool const sprockit::is_base_of< T, S >::value = sizeof(check(static_cast<T*>(0))) == sizeof(yes)
static

Definition at line 75 of file serialize.h.


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