Boost logo

Boost :

From: Matthew Vogt (mvogt_at_[hidden])
Date: 2004-04-22 20:06:15


John Torjo <john.lists <at> torjo.com> writes:

> However, had I used
> crange<int> r(d); // how do I know what iterators to keep inside?
> crange<int> r(v); // how do I know what iterators to keep inside?

You can do this with heap-allocated iterators and bound boost::functions,
but that looks a lot heavier than a pointer-incrementing loop...

Matt


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