Orxonox  0.0.5 Codename: Arcturus
Classes | Static Public Attributes | Private Types | Static Private Member Functions | List of all members
IsCallableImpl< T > Struct Template Reference

Implementation of IsCallable. More...

#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/orxonox/scriptablecontroller/is_callable.h>

Classes

struct  Check
 
struct  Derived
 
struct  Fallback
 

Static Public Attributes

static const bool value = sizeof(test<Derived>(0)) == sizeof(yes)
 

Private Types

typedef char(& no)[2]
 
typedef char(& yes)[1]
 

Static Private Member Functions

template<typename >
static yes test (...)
 
template<typename C >
static no test (Check< void(Fallback::*)(),&C::operator()>*)
 

Detailed Description

template<typename T>
struct IsCallableImpl< T >

Implementation of IsCallable.

Member Typedef Documentation

template<typename T >
typedef char(& IsCallableImpl< T >::no)[2]
private
template<typename T >
typedef char(& IsCallableImpl< T >::yes)[1]
private

Member Function Documentation

template<typename T >
template<typename >
static yes IsCallableImpl< T >::test (   ...)
staticprivate
template<typename T >
template<typename C >
static no IsCallableImpl< T >::test ( Check< void(Fallback::*)(),&C::operator()>*  )
staticprivate

Member Data Documentation

template<typename T >
const bool IsCallableImpl< T >::value = sizeof(test<Derived>(0)) == sizeof(yes)
static

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