Boost C++ Libraries Home Libraries People FAQ More

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:
  // construct/copy/destruct
  index_view(const cache_item *, const cache_item *);

  // public member functions
  auto begin() const noexcept;
  auto end() const noexcept;
  auto size() const noexcept;
  int operator[](unsigned) const noexcept;
  int at(unsigned) const;
};

Description

index_view public construct/copy/destruct

  1. index_view(const cache_item * b, const cache_item * e);

index_view public member functions

  1. auto begin() const noexcept;
  2. auto end() const noexcept;
  3. auto size() const noexcept;
  4. int operator[](unsigned d) const noexcept;
  5. int at(unsigned d) const;

PrevUpHomeNext