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 for the latest Boost documentation.
PrevUpHomeNext

Struct multi_index<static_cast< std::size_t >(-1)>

boost::histogram::multi_index<static_cast< std::size_t >(-1)>

Synopsis

// In header: <boost/histogram/multi_index.hpp>


struct multi_index<static_cast< std::size_t >(-1)> {
  // types
  typedef axis::index_type   value_type;    
  typedef value_type *       iterator;      
  typedef const value_type * const_iterator;

  // construct/copy/destruct
  template<class... Is> multi_index(axis::index_type, Is...);
  template<class... Is> 
    multi_index(const std::tuple< axis::index_type, Is... > &);
  template<typename Iterable> multi_index(const Iterable &);
  multi_index(priv_tag, std::size_t);
  template<typename T, std::size_t... Ns> 
    multi_index(const T &, mp11::index_sequence< Ns... >);

  // public static functions
  static multi_index create(std::size_t);

  // public member functions
  iterator begin() noexcept;
  iterator end() noexcept;
  const_iterator begin() const noexcept;
  const_iterator end() const noexcept;
  std::size_t size() const noexcept;
};

Description

multi_index public construct/copy/destruct

  1. template<class... Is> multi_index(axis::index_type i, Is... is);
  2. template<class... Is> 
      multi_index(const std::tuple< axis::index_type, Is... > & is);
  3. template<typename Iterable> multi_index(const Iterable & is);
  4. multi_index(priv_tag, std::size_t s);
  5. template<typename T, std::size_t... Ns> 
      multi_index(const T & is, mp11::index_sequence< Ns... >);

multi_index public static functions

  1. static multi_index create(std::size_t s);

multi_index public member functions

  1. iterator begin() noexcept;
  2. iterator end() noexcept;
  3. const_iterator begin() const noexcept;
  4. const_iterator end() const noexcept;
  5. std::size_t size() const noexcept;

PrevUpHomeNext