Subject: [Boost-bugs] [Boost C++ Libraries] #10125: call_once: compile errors in variadic version with rvalue reference emulation
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-06-16 08:20:09
#10125: call_once: compile errors in variadic version with rvalue reference
emulation
------------------------------+----------------------
Reporter: raad@⦠| Owner: anthonyw
Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
Version: Boost 1.55.0 | Severity: Problem
Keywords: |
------------------------------+----------------------
In the variadic template version, boost::call_once uses
BOOST_THREAD_RV_REF for the function and function argument parameters.
If the Boost.Move rvalue reference emulation is active, this only compiles
for classes that use one of the macros in Boost.Move in their class
definiton. Notably, it dooes not compile for Boost.Bind and Boost.Function
objects.
Could this be changed to use BOOST_THREAD_FWD_REF instead of
BOOST_THREAD_RV_REF or could const& overloads be added?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10125> 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:16 UTC