dune-common
2.3.0
|
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 is accessible through the typedef type.
typedef T1 Dune::conditional< first, T1, T2 >::type |
The selected type.
if first is true this will be type T1 and T2 otherwise