Templa 0.0.1-alpha
C++ Metaprogramming Utilities
Loading...
Searching...
No Matches
templa::internal::forward_elements< T, N, elems > Struct Template Reference

Forward a list of elements as a std::array. More...

#include <pack.hpp>

Public Types

using type = T
 The type of elements.

Static Public Attributes

static constexpr std::array< T, N > array = {elems...}
 Static array holding the elements.
static constexpr std::size_t size = N
 Number of elements.

Detailed Description

template<typename T, std::size_t N, T... elems>
struct templa::internal::forward_elements< T, N, elems >

Forward a list of elements as a std::array.

Template Parameters
TType of the elements.
NNumber of elements.
elemsNon-type template parameter pack of elements.

The documentation for this struct was generated from the following file:
  • Templa/include/templa-include/pack.hpp