...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::histogram::indexed_range::accessor::index_view — Array-like view into the current multi-dimensional index.
// In header: <boost/histogram/indexed.hpp> // Array-like view into the current multi-dimensional index. class index_view { public: // types typedef unspecified const_iterator; typedef const axis::index_type & const_reference; // public member functions const_iterator begin() const noexcept; const_iterator end() const noexcept; std::size_t size() const noexcept; const_reference operator[](unsigned) const noexcept; const_reference at(unsigned) const; };
index_view
public member functionsconst_iterator begin() const noexcept;
const_iterator end() const noexcept;
std::size_t size() const noexcept;
const_reference operator[](unsigned d) const noexcept;
const_reference at(unsigned d) const;