$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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.