[Boost-bugs] [Boost C++ Libraries] #9557: BOOST_FOREACH with iterators?

Subject: [Boost-bugs] [Boost C++ Libraries] #9557: BOOST_FOREACH with iterators?
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-01-09 00:02:17


#9557: BOOST_FOREACH with iterators?
------------------------------+----------------------------
 Reporter: ramey | Owner: eric_niebler
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: foreach
  Version: Boost 1.55.0 | Severity: Not Applicable
 Keywords: |
------------------------------+----------------------------
 I love BOOST_FOREACH and use it all the time.

 The normal signature is

 BOOST_FOREACH( T & t, Collection<T>){...}

 Would it be possible to also permit

 BOOST_FOREACH( T *, Collection<T>){..>}

 This would make it even more useful to me.

 Robert Ramey

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9557>
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:50:15 UTC