dune-common  2.5.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | List of all members
Dune::TypeListElement< i, TypeList< T...> > Struct Template Reference

Get element of TypeList. More...

#include <dune/common/typelist.hh>

Public Types

using type = typename std::tuple_element< i, std::tuple< T...>>::type
 Export type of i-th element in TypeList. More...
 
using Type = type
 Export type of i-th element in TypeList. More...
 

Detailed Description

template<std::size_t i, class... T>
struct Dune::TypeListElement< i, TypeList< T...> >

Get element of TypeList.

Member Typedef Documentation

template<std::size_t i, class... T>
using Dune::TypeListElement< i, TypeList< T...> >::type = typename std::tuple_element<i, std::tuple<T...>>::type

Export type of i-th element in TypeList.

Todo:
Implement without using std::tuple.
template<std::size_t i, class... T>
using Dune::TypeListElement< i, TypeList< T...> >::Type = type

Export type of i-th element in TypeList.

Todo:
Implement without using std::tuple.

The documentation for this struct was generated from the following file: