Boost logo

Boost :

Subject: Re: [boost] [patch] first_iterator, second_iterator?
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2010-01-07 06:25:54


Daniel Colascione wrote:
> Iterating over the first and second elements of a collection of pairs is
> a pretty common problem. Would it be possible to get something like the
> following into boost?

Isn't that a trivial application of transform_iterator?

Also, why did you post that message as a reply to socket and thread issues?


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