MADNESS  version 0.9
Public Types | List of all members
madness::if_c< Cond, T1, T2 > Struct Template Reference

enable_if_same (from Boost?) for conditionally instantiating templates if two types are equal More...

#include <enable_if.h>

Public Types

typedef T1 type
 

Detailed Description

template<bool Cond, typename T1, typename T2>
struct madness::if_c< Cond, T1, T2 >

enable_if_same (from Boost?) for conditionally instantiating templates if two types are equal

Use example

template <class T> A(T& other, typename enable_if_same<A const,T>::type = 0) {

Member Typedef Documentation

template<bool Cond, typename T1, typename T2>
typedef T1 madness::if_c< Cond, T1, T2 >::type

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