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: 2012-06-03 08:04:28


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

Comment (by michel):

 I confirmed that VC++ 11 (beta) fixed the bug in reference binding of
 noncopyable temporaries. So we can iterate over noncopyable rvalue ranges
 on VC++ 11. I ran the tests on VC++11 with my previous patch, but some
 tests failed because of VC++'s bug in two-phase name look-up.

 So, again, I updated the patch. Now, all the tests (incl. tests for
 noncopyable/nonmovable rvalue ranges and C++11 lambdas) passed on VC++ 11,
 gcc 4.4-4.7, clang 2.9-3.1.

 Updated patch attached in this ticket:
 https://svn.boost.org/trac/boost/attachment/ticket/5475/foreach_use_cxx11_v2.patch

 Also, patch for the tests attached in this ticket:
 https://svn.boost.org/trac/boost/attachment/ticket/5475/foreach_add_new_tests.patch

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