A list of tagged indexes (a position in an N-dimensional space) More...
#include <tagged.hpp>
Public Member Functions | |
constexpr | index_class (index_carrier_type< TL > ... vl) noexcept |
index_class (index_class< TL > ... vl) noexcept | |
template<std::size_t I> requires (I < sizeof...(TL)) | |
auto && | get () const noexcept |
Retrieve individual tagged index by zero-based position. | |
template<impl::one_of< TL ... > T> | |
auto && | get () const noexcept |
Retrieve individual tagged index by selector tag. | |
A list of tagged indexes (a position in an N-dimensional space)
Although the order of tags is technically preserved, most functions working with index lists ignore the order
...TL | Tag list |
|
inlinenoexcept |
Retrieve individual tagged index by zero-based position.
I | Index of dimension |
|
inlinenoexcept |
Retrieve individual tagged index by selector tag.
I | Index of dimension |