5#include <vitrio/export.hpp>
6#include <vitrio/span.hpp>
110 std::
vector<std::
size_t> m_values;
A sequence of indices of one and the same rank.
Definition index_table.hpp:29
std::size_t get_rank() const noexcept
Get the number of coordinates each index carries.
span< const std::size_t > get(std::size_t position) const noexcept
Get one index.
void reserve(std::size_t count)
Make room for a number of indices without allocating later.
void clear() noexcept
Drop the indices held, keeping the rank and the capacity.
std::size_t get_index_count() const noexcept
Get how many indices are held.
index_table() noexcept
Construct an empty table of rank zero.
void add(span< const std::size_t > index)
Append one index.
A view of a contiguous sequence of elements.
Definition span.hpp:29