Re: [Boost-bugs] [Boost C++ Libraries] #5473: [Foreach] non-const rvalue collections are treated as const collections

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5473: [Foreach] non-const rvalue collections are treated as const collections
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-04-15 02:10:51


#5473: [Foreach] non-const rvalue collections are treated as const collections
--------------------------------------+-------------------------------------
  Reporter: mimomorin@… | Owner: eric_niebler
      Type: Patches | Status: closed
 Milestone: To Be Determined | Component: foreach
   Version: Boost Development Trunk | Severity: Problem
Resolution: wontfix | Keywords:
--------------------------------------+-------------------------------------
Changes (by eric_niebler):

  * status: new => closed
  * resolution: => wontfix

Comment:

 Please don't spend any more time on this. Mutable iteration over an rvalue
 collection makes no sense. I consider the fact that BOOST_FOREACH
 disallows it a feature. I'm surprised C++0x range-for allows it, but I
 don't that that's reason enough for BOOST_FOREACH to support it.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5473#comment:3>
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:06 UTC