3 #ifndef DUNE_COMMON_TYPELIST_HH 4 #define DUNE_COMMON_TYPELIST_HH 139 template<std::
size_t i,
class T>
147 template<std::size_t i,
class... T>
155 using type =
typename std::tuple_element<i, std::tuple<T...>>
::type;
168 template<std::
size_t i,
class T>
174 #endif // DUNE_COMMON_TYPELIST_HH typename std::tuple_element< i, std::tuple< T... > >::type type
Export type of i-th element in TypeList.
Definition: typelist.hh:155
T type
The referred-to type.
Definition: typelist.hh:33
std::tuple< MetaType< T >... > TypeList
A simple type list.
Definition: typelist.hh:85
Definition: typelist.hh:124
Check if given type is a TypeList.
Definition: typelist.hh:98
Dune namespace.
Definition: alignedallocator.hh:9
Definition: typelist.hh:140
Check if given type is an empty TypeList.
Definition: typelist.hh:119
A type that refers to another type.
Definition: typelist.hh:31
typename TypeListElement< i, T >::type TypeListEntry_t
Shortcut for TypeListElement<i, T>::type;.
Definition: typelist.hh:169
type Type
Export type of i-th element in TypeList.
Definition: typelist.hh:162