Dune::enable_if< b, T > Struct Template Reference
[Common (foundation classes)]

Enable typedef if condition is met. More...

#include <dune/common/typetraits.hh>

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

List of all members.

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:
Generated on Mon Apr 26 10:45:24 2010 for dune-common by  doxygen 1.6.3