Templa 0.0.1-alpha
C++ Metaprogramming Utilities
|
Extract elements from a container-like template parameter as a new container. More...
#include <pack.hpp>
Public Types | |
using | type = decltype(a)::value_type |
Value type of the container. |
Static Public Attributes | |
static constexpr auto | value |
Compile-time generated container with the elements of a. Uses index_sequence to access each element. | |
static constexpr std::size_t | size = value.size() |
Number of elements in the generated container. |
Extract elements from a container-like template parameter as a new container.
a | A container-like non-type template parameter. |
|
staticconstexpr |
Compile-time generated container with the elements of a. Uses index_sequence to access each element.