Tapkee
is_dummy< T > Class Template Reference

#include <callbacks_traits.hpp>

Static Public Attributes

static const bool value = (sizeof(dummy<T>(0)) == sizeof(yes))
 

Private Types

typedef char yes
 
typedef long no
 

Static Private Member Functions

template<typename C >
static yes dummy (typename C::dummy *)
 
template<typename C >
static no dummy (...)
 

Detailed Description

template<class T>
class tapkee::is_dummy< T >

Definition at line 21 of file callbacks_traits.hpp.

Member Typedef Documentation

◆ no

typedef long no
private

Definition at line 24 of file callbacks_traits.hpp.

◆ yes

typedef char yes
private

Definition at line 23 of file callbacks_traits.hpp.

Member Function Documentation

◆ dummy() [1/2]

static yes dummy ( typename C::dummy *  )
staticprivate

◆ dummy() [2/2]

static no dummy (   ...)
staticprivate

Member Data Documentation

◆ value

const bool value = (sizeof(dummy<T>(0)) == sizeof(yes))
static

Definition at line 30 of file callbacks_traits.hpp.


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