Subject: Re: [boost] [range] - Proposal to change the indexed range adaptor
From: David Abrahams (dave_at_[hidden])
Date: 2010-11-01 10:54:32
At Sun, 31 Oct 2010 20:43:42 +0000,
Neil Groves wrote:
> // After my proposed modification, the return type becomes a
> // pair of the index and the original reference type of the
> // underlying iterator/range.
Copying those elements into the pair could get expensive. Maybe you
want to wrap a counting_iterator around that iterator; just a thought.
-- Dave Abrahams BoostPro Computing http://www.boostpro.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk