Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct advance

boost::proto::functional::advance — A PolymorphicFunctionObject type that invokes the std::advance() function on its arguments.

Synopsis

// In header: <boost/proto/functional/std/iterator.hpp>


struct advance :  proto::callable {
  // types
  typedef  ;

  // public member functions
  template<typename InputIterator> template<typename Distance> 
     (, ) ;
};

Description

A PolymorphicFunctionObject type that invokes the std::advance() function on its arguments.

advance public member functions

  1. template<typename InputIterator> template<typename Distance> 
       ( x,  n) ;

    Calls std::advance(x, n)


PrevUpHomeNext