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

PrevUpHomeNext

Struct template proxy_arrow_result

boost::stl_interfaces::proxy_arrow_result

Synopsis

// In header: <boost/stl_interfaces/iterator_interface.hpp>

template<typename T> 
struct proxy_arrow_result {

  // public member functions
  proxy_arrow_result(T const &) noexcept(noexcept(T(value)));
  proxy_arrow_result(T &&) noexcept(noexcept(T(std::move(value))));
  constexpr T const * operator->() const noexcept;
  constexpr T * operator->() noexcept;
};

Description

The return type of operator->() in a proxy iterator.

This template is used as the default Pointer template parameter in the proxy_iterator_interface template alias. Note that the use of this template implies a copy or move of the underlying object of type T.

proxy_arrow_result public member functions

  1. proxy_arrow_result(T const & value) noexcept(noexcept(T(value)));
  2. proxy_arrow_result(T && value) noexcept(noexcept(T(std::move(value))));
  3. constexpr T const * operator->() const noexcept;
  4. constexpr T * operator->() noexcept;

PrevUpHomeNext