Re: [Boost-bugs] [Boost C++ Libraries] #8092: Apple clang does not provide std::move

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8092: Apple clang does not provide std::move
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-23 19:21:14


#8092: Apple clang does not provide std::move
-------------------------------+--------------------------------------------
  Reporter: anonymous | Owner: ebf
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: variant
   Version: Boost 1.53.0 | Severity: Regression
Resolution: | Keywords: xcode,osx,clang
-------------------------------+--------------------------------------------

Comment (by anonymous):

 marshall,

 Thank you, I've read about this on stackoverflow. I see two problems here:
 Firstly, switching to libc++ means that end-user will have to compile
 boost with libc++ interfaces instead of using binary packages. And
 secondly, not any C++11 code will compile against libc++ as is.

 I believe the problem can be solved with a few directives in
 {{{config/stdlib/libstdcpp3.hpp}}} like

 {{{
 // C++11 features in libstdc++ shipped with Apple Clang
 #if __APPLE__ && (__GNUC_LIBSTD__ <= 4) && (__GNUC_LIBSTD_MINOR__ <= 2)
 # define BOOST_NO_CXX11_RVALUE_REFERENCES
 #endif
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8092#comment:2>
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:12 UTC