5#include <rexlib/core/platform/constexpr.hpp>
6#include <rexlib/core/span.hpp>
26template <std::
size_t N>
29 static REXLIB_CONST_CONSTEXPR std::size_t count =
N;
31 std::array<const char*, N> values;
40 return make_span(values.data(),
N);
50template <
typename... Names>
67 : std::integral_constant<
69 std::decay<T>::type::count
Container for multidimensional numeric data.
Definition array.hpp:31
Arrays, the operations on them and the devices that run those operations.
Definition cpu_device.hpp:10
REXLIB_CONSTEXPR operand_names< sizeof...(Names)> make_operand_names(Names... names) noexcept
Build an operand name list.
Definition operand_names.hpp:52
Get the operand count of an operand name list.
Definition operand_names.hpp:71
Compile time list of operand names.
Definition operand_names.hpp:28
span< const char *const > get() const noexcept
Get the names as a span.
Definition operand_names.hpp:38