ARB
Static Public Member Functions | Static Public Attributes | List of all members
ARB_type_traits::is_same< T, U > Struct Template Reference

#include <downcast.h>

Collaboration diagram for ARB_type_traits::is_same< T, U >:
Collaboration graph
[legend]

Static Public Member Functions

static yes check1 (T *, T *)
 
static no check1 (...)
 
static yes check2 (U *, U *)
 
static no check2 (...)
 

Static Public Attributes

static Tt
 
static Uu
 
static const bool value = (sizeof(check1(t, u)) == sizeof(yes)) && (sizeof(check2(t, u)) == sizeof(yes))
 

Detailed Description

template<typename T, typename U>
struct ARB_type_traits::is_same< T, U >

Definition at line 59 of file downcast.h.

Member Function Documentation

template<typename T , typename U >
static yes ARB_type_traits::is_same< T, U >::check1 ( T ,
T  
)
static
template<typename T , typename U >
static no ARB_type_traits::is_same< T, U >::check1 (   ...)
static
template<typename T , typename U >
static yes ARB_type_traits::is_same< T, U >::check2 ( U ,
U  
)
static
template<typename T , typename U >
static no ARB_type_traits::is_same< T, U >::check2 (   ...)
static

Member Data Documentation

template<typename T , typename U >
T* ARB_type_traits::is_same< T, U >::t
static

Definition at line 60 of file downcast.h.

template<typename T , typename U >
U* ARB_type_traits::is_same< T, U >::u
static

Definition at line 61 of file downcast.h.

template<typename T , typename U >
const bool ARB_type_traits::is_same< T, U >::value = (sizeof(check1(t, u)) == sizeof(yes)) && (sizeof(check2(t, u)) == sizeof(yes))
static

Definition at line 69 of file downcast.h.


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