Add UnpackTypeList_t, UniqueTypeList_t, and uniqueTypeList()
Add some tiny but handy utilities for Dune::TypeList
.
- The template alias
UnpackTypeList_t
unpacks aDune::TypeList
into a varaidic template. This e.g. allows to do aDune::TypeList
to std::tuple conversion usingUnpackTypeList_t<std::tuple, Dune::TypeList<T...>>
- The template alias
UniqueTypeList_t
makes the entries in aDune::TypeList
unique and is an alias for the resultingDune::TypeList
- The
uniqueTypeList()
functions makes the entries in aDune::TypeList
unique and returns the resultingDune::TypeList
.