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

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8092: stdlibc++ shipped by Apple does not provide std::move
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-03-04 17:20:29


#8092: stdlibc++ shipped by Apple does not provide std::move
-------------------------------+--------------------------------------------
  Reporter: anonymous | Owner: johnmaddock
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: config
   Version: Boost 1.53.0 | Severity: Showstopper
Resolution: | Keywords: xcode,osx,clang
-------------------------------+--------------------------------------------

Comment (by anonymous):

 So a possible fix would be to add:

 {{{
 #if !defined(BOOST_NO_CXX11_RVALUE_REFERENCES) \
   && defined(__APPLE__) && defined(_GLIBCXX_VERSION) \
   && (_GLIBCXX_VERSION <= 20070719)

 // move and forward go here

 #endif
 }}}

 But where do we add this? The obvious place is in config/suffix.hpp but
 as move/forward depend on remove_reference that's a really bad idea
 (cyclic dependencies etc). Does clang have an intrinsic for
 remove_reference? If so we could make it a clang specific fix in
 clang.hpp I guess...

 John.

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