Meta class that holds types, and allows functions to be applied to the elements of the list using the internal apply struct.
Usage:
using nano::dim; \ To get dimension types
using test_list = list<i, j, k, l>; \ A list of dimensions
using shifted_list = list::apply<shift>;
Where shift is some function which operates on a type in the list.
More...
#include <list.hpp>
|
static constexpr std::size_t | size = sizeof...(Ts) |
| The size of the list. More...
|
|
template<typename... Ts>
struct nano::list< Ts >
Meta class that holds types, and allows functions to be applied to the elements of the list using the internal apply struct.
Usage:
using nano::dim; \ To get dimension types
using test_list = list<i, j, k, l>; \ A list of dimensions
using shifted_list = list::apply<shift>;
Where shift is some function which operates on a type in the list.
- Template Parameters
-
Ts | The tyes of the elements in the list |
template<typename... Ts>
constexpr std::size_t nano::list< Ts >::size = sizeof...(Ts) |
|
static |
The documentation for this struct was generated from the following file: