Home | Libraries | People | FAQ | More |
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)