Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-05-19 08:17:36


Douglas Gregor <doug.gregor_at_[hidden]> writes:

> Do we have counterparts to std::advance and std::distance that are
> optimized for random_access_traversal_tag instead of
> std::random_access_iterator_tag?

Not that I know of. It makes sense for you to add them somewhere
under boost/iterator. I suggest you take note of
boost/detail/iterator.hpp when doing so.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk