KASKADE 7 development version
select.hh
Go to the documentation of this file.
1#ifndef SELECT_HH
2#define SELECT_HH
3
5template <bool decide, class T1, class T2>
6struct Select{
7 typedef T1 type;
8};
9
10template <class T1, class T2>
11struct Select<false,T1,T2>{
12 typedef T2 type;
13};
14
15#endif
Deprecated (use std::conditional_t instead). Will be removed after 2019-12-31.
Definition: select.hh:6
T1 type
Definition: select.hh:7