MADNESS  version 0.9
Classes | Namespaces | Macros
enable_if.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  madness::enable_if_c< B, returnT >
 enable_if_c from Boost for conditionally instantiating templates based on type More...
 
struct  madness::enable_if_c< false, returnT >
 enable_if_c from Boost for conditionally instantiating templates based on type More...
 
struct  madness::enable_if< Cond, returnT >
 enable_if from Boost for conditionally instantiating templates based on type More...
 
struct  madness::disable_if_c< B, returnT >
 disable_if from Boost for conditionally instantiating templates based on type More...
 
struct  madness::disable_if_c< true, returnT >
 disable_if from Boost for conditionally instantiating templates based on type More...
 
struct  madness::disable_if< Cond, returnT >
 disable_if from Boost for conditionally instantiating templates based on type More...
 
struct  madness::lazy_enable_if_c< B, returnT >
 lazy_enable_if_c from Boost for conditionally instantiating templates based on type More...
 
struct  madness::lazy_enable_if_c< false, returnT >
 lazy_enable_if_c from Boost for conditionally instantiating templates based on type More...
 
struct  madness::lazy_enable_if< Cond, returnT >
 lazy_enable_if from Boost for conditionally instantiating templates based on type More...
 
struct  madness::lazy_disable_if_c< B, returnT >
 lazy_disable_if_c from Boost for conditionally instantiating templates based on type More...
 
struct  madness::lazy_disable_if_c< true, returnT >
 lazy_disable_if_c from Boost for conditionally instantiating templates based on type More...
 
struct  madness::lazy_disable_if< Cond, returnT >
 lazy_disable_if from Boost for conditionally instantiating templates based on type More...
 
struct  madness::if_c< Cond, T1, T2 >
 enable_if_same (from Boost?) for conditionally instantiating templates if two types are equal More...
 
struct  madness::if_c< false, T1, T2 >
 
struct  madness::if_< Cond, T1, T2 >
 

Namespaces

 madness
 Holds machinery to set up Functions/FuncImpls using various Factories and Interfaces.
 

Macros

#define ENABLE_IF(CONDITION, TYPEIFTRUE)   typename madness::enable_if< CONDITION, TYPEIFTRUE >::type
 Macro to make enable_if<> template easier to use. More...
 
#define DISABLE_IF(CONDITION, TYPEIFTRUE)   typename madness::disable_if< CONDITION, TYPEIFTRUE >::type
 Macro to make disable_if<> template easier to use. More...
 
#define ENABLE_IF_SAME(A, B, TYPEIFTRUE)   typename madness::enable_if<madness::is_same< A , B >, TYPEIFTRUE >::type
 
#define DISABLE_IF_SAME(A, B, TYPEIFTRUE)   typename madness::disable_if<madness::is_same< A , B >, TYPEIFTRUE >::type
 

Macro Definition Documentation

#define DISABLE_IF (   CONDITION,
  TYPEIFTRUE 
)    typename madness::disable_if< CONDITION, TYPEIFTRUE >::type

Macro to make disable_if<> template easier to use.

Macro to make enable_if<madness::is_same< A , B > > template easier to use.

#define DISABLE_IF_SAME (   A,
  B,
  TYPEIFTRUE 
)    typename madness::disable_if<madness::is_same< A , B >, TYPEIFTRUE >::type
#define ENABLE_IF (   CONDITION,
  TYPEIFTRUE 
)    typename madness::enable_if< CONDITION, TYPEIFTRUE >::type

Macro to make enable_if<> template easier to use.

#define ENABLE_IF_SAME (   A,
  B,
  TYPEIFTRUE 
)    typename madness::enable_if<madness::is_same< A , B >, TYPEIFTRUE >::type