Simple++
Powerfull and lightning fast C++ Library
Public Types | Static Public Member Functions | List of all members
Utility::isSame< T1, T2 > Class Template Reference

#include <Utility.h>

Public Types

enum  : bool { value = sizeof( check( static_cast< T2* >( 0 ) ) ) == sizeof( yes ) }
 
typedef char(& no)[1]
 
typedef char(& yes)[2]
 

Static Public Member Functions

static yes check (T1 *)
 
static no check (...)
 

Member Typedef Documentation

template<typename T1 , typename T2 >
typedef char( & Utility::isSame< T1, T2 >::no)[1]
template<typename T1 , typename T2 >
typedef char( & Utility::isSame< T1, T2 >::yes)[2]

Member Enumeration Documentation

template<typename T1 , typename T2 >
anonymous enum : bool
Enumerator
value 

Member Function Documentation

template<typename T1 , typename T2 >
static yes Utility::isSame< T1, T2 >::check ( T1 *  )
static
template<typename T1 , typename T2 >
static no Utility::isSame< T1, T2 >::check (   ...)
static

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