Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class template reference_t

boost::histogram::unlimited_storage::reference_t

Synopsis

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


template<typename Buffer> 
class reference_t {
public:
  // construct/copy/destruct
  reference_t(Buffer *, std::size_t);
  reference_t(const reference_t &) = default;
  reference_t & operator=(const reference_t &) = delete;
  reference_t & operator=(reference_t &&) = delete;

  // public member functions
  bool operator<(reference_t) const;
  bool operator>(reference_t) const;
  bool operator==(reference_t) const;
  template<typename U> bool operator<(const U &) const;
  template<typename U> bool operator>(const U &) const;
  template<typename U> bool operator==(const U &) const;
  operator double() const;

  // protected member functions
  template<typename Binary, typename U> 
    bool op(const reference_t< U > &) const;
  template<typename Binary, typename U> bool op(const U &) const;
};

Description

reference_t public construct/copy/destruct

  1. reference_t(Buffer * b, std::size_t i);
  2. reference_t(const reference_t &) = default;
  3. reference_t & operator=(const reference_t &) = delete;
  4. reference_t & operator=(reference_t &&) = delete;

reference_t public member functions

  1. bool operator<(reference_t rhs) const;
  2. bool operator>(reference_t rhs) const;
  3. bool operator==(reference_t rhs) const;
  4. template<typename U> bool operator<(const U & rhs) const;
  5. template<typename U> bool operator>(const U & rhs) const;
  6. template<typename U> bool operator==(const U & rhs) const;
  7. operator double() const;

reference_t protected member functions

  1. template<typename Binary, typename U> 
      bool op(const reference_t< U > & rhs) const;
  2. template<typename Binary, typename U> bool op(const U & rhs) const;

PrevUpHomeNext