Dune Core Modules (2.9.0)

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

◆ type

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.

◆ Type

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:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (Apr 19, 22:31, 2024)