iLab Neuromorphic Robotics Toolkit  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nrt::function_existence_helper Namespace Reference

A set of type trait class to check if two types can be used in an arithmetic operation, or compared.

See nrt::nrt_traits on how to use the function_existence_helper. The namespace supports classes which can be derived from to perform compile time checks for functions which take one or two arguments.

Typedefs

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

Functions

no_support operator== (any_class1 const &, any_class2 const &)
 
no_support operator< (any_class1 const &, any_class2 const &)
 
no_support operator<= (any_class1 const &, any_class2 const &)
 
no_support operator> (any_class1 const &, any_class2 const &)
 
no_support operator>= (any_class1 const &, any_class2 const &)
 
no_support operator+ (any_class1 const &, any_class2 const &)
 
no_support operator- (any_class1 const &, any_class2 const &)
 
no_support operator* (any_class1 const &, any_class2 const &)
 
no_support operator/ (any_class1 const &, any_class2 const &)
 
no_support operator+= (any_class1 const &, any_class2 const &)
 
no_support operator-= (any_class1 const &, any_class2 const &)
 
no_support operator*= (any_class1 const &, any_class2 const &)
 
no_support operator/= (any_class1 const &, any_class2 const &)
 
no check (no_support)
 
template<class T >
yes check (T const &)