Dune::SelectType< first, T1, T2 > Struct Template Reference
[Common (foundation classes)]

Select a type based on a condition. More...

#include <dune/common/typetraits.hh>

List of all members.

Public Types

typedef T1 Type
 The selected type.

Detailed Description

template<bool first, class T1, class T2>
struct Dune::SelectType< first, T1, T2 >

Select a type based on a condition.

If template parameter first is true T1 is selected otherwise T2 will be selected. The selected type id accessible through the typedef Type.


Member Typedef Documentation

template<bool first, class T1 , class T2 >
typedef T1 Dune::SelectType< first, T1, T2 >::Type

The selected type.

if first is true this will be type T1 and otherwise T2


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