MADNESS
0.10.1
|
Behave like a lazy std::enable_if
.
More...
#include <world_task_queue.h>
Public Types | |
typedef returnT::type | type |
Behave like a lazy std::enable_if
.
Evaluates to returnT
if B
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 T
is only valid when B is true. Note: typename T::type is the return type and must be well formed.
B | The bool value. |
returnT | The type. |
typedef returnT::type madness::detail::function_enabler_helper< B, returnT >::type |