|
rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
|
Compile time list of operand names. More...
#include <rexlib/core/operation/operand_names.hpp>
Public Member Functions | |
| span< const char *const > | get () const noexcept |
| Get the names as a span. | |
Public Attributes | |
| std::array< const char *, N > | values |
Static Public Attributes | |
| static REXLIB_CONST_CONSTEXPR std::size_t | count = N |
Compile time list of operand names.
The extent doubles as the operand count, so an operation's names and its arity are one declaration rather than two that could disagree.
The names are not owned. They must have static storage duration, which is the case for the string literals the declaration macros produce.
| N | The number of operands. |
|
inlinenoexcept |
Get the names as a span.