[Boost-bugs] [Boost C++ Libraries] #1071: Request for BOOST_REVERSE_FOREACH and rationale

Subject: [Boost-bugs] [Boost C++ Libraries] #1071: Request for BOOST_REVERSE_FOREACH and rationale
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-07-01 17:18:39


#1071: Request for BOOST_REVERSE_FOREACH and rationale
---------------------------------+------------------------------------------
 Reporter: pete_at_[hidden] | Owner: eric_niebler
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: foreach
  Version: | Severity: Not Applicable
 Keywords: |
---------------------------------+------------------------------------------
 Although it is possible to use BOOST_FOREACH with reverse iterators via
 make_iterator_range( rbegin(seq) , rend(seq) ), this method is not usable
 when the sequence to be iterated over is an rvalue. Thus a
 BOOST_REVERSE_FOREACH that re-uses internals of the current FOREACH
 implementation would be very handy.

 There is something further discussion in the thread at
 http://thread.gmane.org/gmane.comp.lib.boost.user/28612.

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1071>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.


This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:55 UTC