...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::axis::iterator
// In header: <boost/histogram/axis/iterator.hpp> template<typename Axis> class iterator : public boost::iterator_adaptor< iterator< Axis >, int, decltype(std::declval< const Axis & >().bin(0)), std::random_access_iterator_tag, decltype(std::declval< const Axis & >().bin(0)), int > { public: // construct/copy/destruct explicit iterator(const Axis &, int); // protected member functions bool equal(const iterator &) const noexcept; decltype(auto) dereference() const; };
iterator
protected member functionsbool equal(const iterator & other) const noexcept;
decltype(auto) dereference() const;