Re: [Boost-bugs] [Boost C++ Libraries] #11622: std::auto_ptr is deprecated

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11622: std::auto_ptr is deprecated
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-09-17 17:14:48


#11622: std::auto_ptr is deprecated
-------------------------------+-------------------------
  Reporter: anonymous | Owner: Peter Dimov
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: smart_ptr
   Version: Boost 1.59.0 | Severity: Cosmetic
Resolution: | Keywords:
-------------------------------+-------------------------

Comment (by nenad.miksa@…):

 libc++ v5 (available in AUR on ArchLinux) does not have auto_ptr header
 anymore, if compiling with flag `-std=gnu++1z`, so this is now a compile
 error, not a warning anymore:

 {{{
 boost/include/boost/ptr_container/ptr_sequence_adapter.hpp:223:45: error:
 no type named 'auto_ptr' in namespace 'std'
         explicit ptr_sequence_adapter( std::auto_ptr<PtrContainer> clone )
                                        ~~~~~^
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac10/boost/ticket/11622#comment:7>
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-09-17 17:20:40 UTC