struct coordinate_storage
Declaration
template <typename Interface, int Dims>
struct coordinate_storage { /* full declaration omitted */ };
Template Parameters
- Interface
- int Dims
Member Variables
- size_t[Dims] values = {}
Member Function Overview
- operator[](int dimension) const → constexpr size_t
- operator[](int dimension) → constexpr size_t &
Member Functions
¶constexpr size_t operator[](int dimension) const
constexpr size_t operator[](int dimension) const
Parameters
- int dimension
¶constexpr size_t& operator[](int dimension)
constexpr size_t& operator[](int dimension)
Parameters
- int dimension