
23 Feb
2010
23 Feb
'10
3:11 a.m.
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.