Dune::SelectType< first, T1, T2 > Struct Template Reference
[Common]

#include <typetraits.hh>

List of all members.


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.


Public Types

typedef T1 Type
 The selected 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 12 Dec 2007 with Doxygen (ver 1.5.1)