Boost logo

Boost :

From: SourceForge.net (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:
https://sourceforge.net/tracker/?func=detail&atid=307586&aid=1160158&group_id=7586

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 gmail.com

----------------------------------------------------------------------

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

Message:
Logged In: YES
user_id=1012656

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

http://www.informit.com/articles/article.asp?p=400651

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

Regards,
Duilio Protti.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=307586&aid=1160158&group_id=7586

-------------------------------------------------------
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. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Boost-bugs mailing list
Boost-bugs_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/boost-bugs


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