Templa 0.0.1-alpha
C++ Metaprogramming Utilities
|
Reverses the elements of a constexpr container at compile time. More...
#include <algorithms.hpp>
Static Public Attributes | |
static constexpr auto | reverse_sequence |
The reversed version of the input container. |
Reverses the elements of a constexpr container at compile time.
Accepts a container expression (e.g., std::array) and constructs a new one with the elements in reversed order.
a | A container expression with fixed size and random access. @requires The container must satisfy the concepts::Container constraint. |
|
staticconstexpr |
The reversed version of the input container.
Constructs a new container by indexing from the end of the original container.