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

Subject: [Boost-bugs] [Boost C++ Libraries] #5475: [Foreach] rvalue reference binding of temporary ranges
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-04-15 03:30:57


#5475: [Foreach] rvalue reference binding of temporary ranges
-------------------------------------+--------------------------------------
 Reporter: mimomorin@… | Owner: eric_niebler
     Type: Patches | Status: new
Milestone: To Be Determined | Component: foreach
  Version: Boost Development Trunk | Severity: Problem
 Keywords: foreach, C++0x |
-------------------------------------+--------------------------------------
 C++0x range-based for uses `auto &&` to bind lvalue/rvalue references to
 ranges.
 A good thing is that there is no need to copy ranges anymore.
 This also allows us to deal with non-copyable rvalue ranges.

 If a compiler supports rvalue references and auto type deduction
 (either `auto` or `decltype` is OK), Boost.Foreach can be modified to do
 this.

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