|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2003-02-01 13:59:44
David Abrahams <dave_at_[hidden]> writes:
> "Arkadiy Vertleyb" <vertleyb_at_[hidden]> writes:
>
>> "David Abrahams" <dave_at_[hidden]> wrote in message
>> We did consider iterator adaptors when we started. The main problem is that
>> we have more iterators based on two iterators, rather than on one -- I don't
>> know whether we can benefit from iterator adaptors in this case. Can we?
>
> Usually.
See http://www.boost.org/libs/utility/permutation_iterator.htm
HTH,
-- David Abrahams dave_at_[hidden] * http://www.boost-consulting.com Boost support, enhancements, training, and commercial distribution
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk