Boost logo

Boost :

From: (noreply_at_[hidden])
Date: 2006-01-09 17:26:41

Patches item #1160158, was opened at 2005-03-09 12:05
Message generated for change (Settings changed) made by mclow
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: Eric Niebler (eric_niebler)
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 12: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:

This email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
Boost-bugs mailing list

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