MADNESS
version 0.9
|
lazy_enable_if from Boost for conditionally instantiating templates based on type More...
#include <enable_if.h>
Additional Inherited Members | |
Public Types inherited from madness::lazy_enable_if_c< Cond::value, returnT > | |
typedef returnT::type | type |
lazy_enable_if from Boost for conditionally instantiating templates based on type
Evaluates to returnT
if Cond::value
is true, otherwise to an invalid type expression which causes the template expression in which it is used to not be considered for overload resolution. This "lazy" version is used if returnT
is only valid when Cond::value is true. Note: typename T::type is the return type and must be well formed.