Re: [Boost-bugs] [Boost C++ Libraries] #5475: [Foreach] rvalue reference binding of temporary ranges

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5475: [Foreach] rvalue reference binding of temporary ranges
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-10-16 17:48:05


#5475: [Foreach] rvalue reference binding of temporary ranges
--------------------------------------+-------------------------------------
  Reporter: mimomorin@… | Owner: eric_niebler
      Type: Patches | Status: closed
 Milestone: To Be Determined | Component: foreach
   Version: Boost Development Trunk | Severity: Problem
Resolution: fixed | Keywords: foreach, C++0x
--------------------------------------+-------------------------------------

Comment (by Michel Morin <mimomorin@…>):

 Sorry, Eric. Could you revert the previous patch?
 I found a regression caused by the patch (which was not caught by the
 test).

 I've realized that gcc-4.4 is really a mess to implement "const reference
 binding of rvalue ranges".
 We shouldn't try to implement it unless we have reliable test.
 Bugs in gcc-4.4 are appeared when using BOOST_FOREACH in function
 templates.
 We should extend the existing test to cover those cases.

 So it seems that we have only two options for this release: A or B of
 comment 23.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5475#comment:26>
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:07 UTC