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

std::enable_if is similar to boost::enable_if_c for conditionally instantiating templates based on type More...

#include <type_traits_bits.h>

Public Types

typedef returnT type
 

Detailed Description

template<bool B, class returnT>
struct madness::tr1::enable_if< B, returnT >

std::enable_if is similar to boost::enable_if_c 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.

Member Typedef Documentation

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

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