Boost C++ Libraries Home Libraries People FAQ More

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 &);
  proxy_arrow_result(T &&);
  T const * operator->() const noexcept;
  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);
  2. proxy_arrow_result(T && value);
  3. T const * operator->() const noexcept;
  4. T * operator->() noexcept;

PrevUpHomeNext