MADNESS  version 0.9
Public Types | List of all members
madness::lazy_enable_if_c< B, returnT > Struct Template Reference

lazy_enable_if_c from Boost for conditionally instantiating templates based on type More...

#include <enable_if.h>

Public Types

typedef returnT::type type
 

Detailed Description

template<bool B, class returnT>
struct madness::lazy_enable_if_c< B, returnT >

lazy_enable_if_c from Boost for conditionally instantiating templates based on type

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.

Member Typedef Documentation

template<bool B, class returnT>
typedef returnT::type madness::lazy_enable_if_c< B, returnT >::type

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