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

lazy_disable_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_disable_if_c< B, returnT >

lazy_disable_if_c from Boost for conditionally instantiating templates based on type

Evaluates to returnT if B is false, 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 B is false. 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_disable_if_c< B, returnT >::type

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