dune-pdelab  2.4.1
Public Types | List of all members
Dune::PDELab::TypeListElement< i, TypeList< T... > > Struct Template Reference

Get element of TypeList. More...

#include <dune/pdelab/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::PDELab::TypeListElement< i, TypeList< T... > >

Get element of TypeList.

Member Typedef Documentation

template<std::size_t i, class... T>
using Dune::PDELab::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::PDELab::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: