CNORXZ
Container with Native Operation Routines and Expressions
|
#include <index_format.h>
Public Types | |
typedef Tuple< PosT... > | InputType |
Public Member Functions | |
SP_DEFAULT_MEMBERS (constexpr, GMFormat) | |
constexpr | GMFormat (const Tuple< PosT... > &b) |
constexpr | GMFormat (Tuple< PosT... > &&b) |
template<class FormatT > | |
constexpr | GMFormat (const FormatT &f) |
const Tuple< PosT... > & | all () const |
constexpr decltype(auto) | size () const |
template<SizeT I> | |
constexpr decltype(auto) | get (CSizeT< I > i) const |
template<SizeT I> | |
constexpr decltype(auto) | operator[] (CSizeT< I > i) const |
template<SizeT I> | |
constexpr decltype(auto) | get (CSizeT< I > i) const |
template<SizeT I> | |
constexpr decltype(auto) | operator[] (CSizeT< I > i) const |
Multi index format of static size. Wrapper of standard tuple of position types.
PosT | Position types. |
Definition at line 85 of file index_format.h.
typedef Tuple<PosT...> CNORXZ::GMFormat< PosT >::InputType |
Definition at line 88 of file index_format.h.
|
explicitconstexpr |
|
explicitconstexpr |
Construct from tuple (move).
b | Input tuple. |
Definition at line 73 of file index_format.cc.h.
|
constexpr |
Construct MFormat from format of arbitrary type. The input format size has to match the number of entries and the input entries have to be compatible with the position types.
f | Input format |
Definition at line 79 of file index_format.cc.h.
const Tuple< PosT... > & CNORXZ::GMFormat< PosT >::all | ( | ) | const |
Get underlying tuple.
Definition at line 86 of file index_format.cc.h.
|
constexpr |
Definition at line 99 of file index_format.cc.h.
|
constexpr |
Get format element.
i | CSizeT indicating static element position |
|
constexpr |
Definition at line 106 of file index_format.cc.h.
|
constexpr |
Get format element.
i | CSizeT indicating static element position |
|
constexpr |
Get format size.
Definition at line 92 of file index_format.cc.h.
CNORXZ::GMFormat< PosT >::SP_DEFAULT_MEMBERS | ( | constexpr | , |
GMFormat< PosT > | ) |
default constructors and assignments