Boost logo

Boost :

From: Daniel Wallin (dalwan01_at_[hidden])
Date: 2003-10-11 07:08:44


At 21:05 2003-10-09, Eric Niebler wrote:

>Resending. Based on the number of private replies I got, I suspect there
>is some interest in adding a foreach looping construct to Boost. The lack
>of public discussion makes me wonder, though. Does no one want to
>publically support an Ugly Macro? :-) Or is this just not compelling enough?

I basically have two problems with this:

   1. It operates on containers rather than iterators.

   2. It reevaluates the container expression on every iteration.

I find both these issues annoying enough to outweigh the benefits.

---
Daniel Wallin

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