|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2003-07-15 19:53:25
Marshall Clow <marshall_at_[hidden]> writes:
>> I'm sure this is possible, but the documentation doesn't really say how to
>>do it.
>
> is there some reason you can't use const_iterator?
Yeah, it wouldn't work.
There's an example of how to do this in
libs/utility/indirect_iterator_example.cpp
HTH,
-- 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