Boost logo

Boost :

From: Johan Råde (rade_at_[hidden])
Date: 2008-05-05 14:49:30


hervebronnimann_at_[hidden] wrote:
> Johan: you can construct an iterator wrapper that map operator++ to next(float), and then it *really* is the specialization of std::distance() for this iterator type.

You are right.
(And std::distance is poorly named. What on earth was Alex Stepanov thinking?)

--Johan


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