dune-common  2.3.1
Public Types | List of all members
Dune::enable_if< b, T > Struct Template Reference

Enable typedef if condition is met. More...

#include <dune/common/typetraits.hh>

Inheritance diagram for Dune::enable_if< b, T >:
Inheritance graph

Public Types

typedef T type
 

Detailed Description

template<bool b, typename T = void>
struct Dune::enable_if< b, T >

Enable typedef if condition is met.

Replacement implementation for compilers without this in the stl. Depending on the value of b the type T is provided as typedef type.

Member Typedef Documentation

template<bool b, typename T = void>
typedef T Dune::enable_if< b, T >::type

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