Select a type based on a condition. More...
#include <dune/common/typetraits.hh>
Public Types | |
typedef T1 | Type |
The selected type. |
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.
typedef T1 Dune::SelectType< first, T1, T2 >::Type |
The selected type.
if first is true this will be type T1 and otherwise T2