[Boost-bugs] [Boost C++ Libraries] #6876: Add forwarding of operator() to reference_wrapper

Subject: [Boost-bugs] [Boost C++ Libraries] #6876: Add forwarding of operator() to reference_wrapper
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-05-08 15:33:16


#6876: Add forwarding of operator() to reference_wrapper
-------------------------------------------------+--------------------------
 Reporter: philipp.moeller@… | Owner: pdimov
     Type: Patches | Status: new
Milestone: To Be Determined | Component: bind
  Version: Boost Release Branch | Severity: Problem
 Keywords: |
-------------------------------------------------+--------------------------
 Adding forwarding of operator() to reference_wrapper will make it comply
 with the ISO definition of reference_wrapper. The attached patch adds
 dependencies to Boost.Move and Boost.Preprocessor. The later could be
 removed by manually expanding the macro. Forwarding in C++03 only works
 for values, references-to-const and rvalues as this is what Boost.Move
 provides. In C++11, forwarding works as expected for all kind of values.
 It might be necessary to make the amount of forwarded arguments
 configurable, currently it is fixed to 8.

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