Boost logo

Boost :

From: (noreply_at_[hidden])
Date: 2005-08-01 14:52:47

Patches item #1160158, was opened at 2005-03-09 17:05
Message generated for change (Comment added) made by dprotti
You can respond by visiting:

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Amir Taaki (genjix)
Assigned to: Nobody/Anonymous (nobody)
Summary: Perl style foreach iterating

Initial Comment:
somewhere in boost, there should be a perl style foreach iterator,
like so
#define ITERATOR(obj) typeof(obj.begin())
#define foreach(v,i) for(ITERATOR(v) i = v.begin() ; i !=
v.end() ; i++)
genjix at


Comment By: Duilio J. Protti (dprotti)
Date: 2005-08-01 16:52

Logged In: YES

There is something like that. In fact, there is something
much better, take a look at this article:

About your submission, it's not a patch, is more like a
feature request, so this is not the correct place to post it.

Duilio Protti.


You can respond by visiting:

SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast.
Boost-bugs mailing list

Boost list run by bdawes at, gregod at, cpdaniel at, john at