Re: [Boost-bugs] [Boost C++ Libraries] #10125: call_once: compile errors in variadic version with rvalue reference emulation

Subject: Re: [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-07-02 09:29:52


#10125: call_once: compile errors in variadic version with rvalue reference
emulation
-------------------------------+----------------------
  Reporter: raad@… | Owner: viboes
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.55.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+----------------------

Comment (by raad@…):

 Well, there is a workaround (also disabling variadic templates when
 disabling rvalue references), so it's not critical.

 But as the rest of Boost (including the rest of Boost.Thread) works in
 this configuration with variadic templates and without rvalue references
 and it seems that I'm not the only one using the latest clang with an
 older standard library, I think it's worth it if it's not too much work.

 Maybe the simplest solution would be to disable the variadic version of
 call_once if BOOST_NO_CXX11_RVALUE_REFERENCES is defined? The attached
 patch works for me with all compiler and standard library combinations.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10125#comment:9>
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