Boost C++ Libraries: Ticket #6876: Add forwarding of operator() to reference_wrapper https://svn.boost.org/trac10/ticket/6876 <p> 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. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6876 Trac 1.4.3 philipp.moeller@… Tue, 08 May 2012 15:35:51 GMT attachment set https://svn.boost.org/trac10/ticket/6876 https://svn.boost.org/trac10/ticket/6876 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">add_forwarding_to_ref.patch</span> </li> </ul> <p> patch to add forwarding of operator() to reference_wrapper </p> Ticket