Boost logo

Boost Users :

Subject: Re: [Boost-users] Foreach For iterating two containers
From: Nat Goodspeed (nat_at_[hidden])
Date: 2010-02-22 22:11:25


Rusty Jones wrote:

> I agree that a built-in solution to FOREACH would be best, but a
> secondary choice would be to use a zip iterator.
>
> http://www.boost.org/doc/libs/1_42_0/libs/iterator/doc/zip_iterator.html

I applaud your zip iterator suggestion. I think assembling simple,
straightforward, orthogonal library components is actually preferable to
funny special cases.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net