Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Class index_view

boost::histogram::indexed_range::accessor::index_view — Array-like view into the current multi-dimensional index.

Synopsis

// 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;
};

Description

index_view public member functions

  1. const_iterator begin() const noexcept;
  2. const_iterator end() const noexcept;
  3. std::size_t size() const noexcept;
  4. const_reference operator[](unsigned d) const noexcept;
  5. const_reference at(unsigned d) const;

PrevUpHomeNext