Dune Core Modules (2.5.0)
Dune::TypeList< T > Struct Template Reference
A simple type list. More...
#include <dune/common/typelist.hh>
Detailed Description
template<class... T>
struct Dune::TypeList< T >
struct Dune::TypeList< T >
A simple type list.
The purpose of this is to encapsulate a list of types. This allows, e.g., to pack an argument-pack into one type. In contrast to a std::tuple a TypeList can be created without creating any object of the stored types.
This can, e.g., be used for overload resolution with tag-dispatch where TypeList is used as tag. In combination with PriorityTag this allows to emulate partial specialization of function templates in a sane way, i.e., without the hassle of classic specialization of function templates
The documentation for this struct was generated from the following file:
- dune/common/typelist.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 23, 23:29, 2024)