...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::proto::functional::advance — A PolymorphicFunctionObject type that invokes the
std::advance()
function on its arguments.
// In header: <boost/proto/functional/std/iterator.hpp> struct advance : proto::callable { // types typedef void result_type; // public member functions template<typename InputIterator> template<typename Distance> void operator()(InputIterator &, Distance) const; };
A PolymorphicFunctionObject type that invokes the
std::advance()
function on its arguments.
advance
public member functionstemplate<typename InputIterator> template<typename Distance> void operator()(InputIterator & x, Distance n) const;
Calls std::advance(x, n)