Re: [Boost-bugs] [Boost C++ Libraries] #2481: make_shared and allocate_shared friendship

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2481: make_shared and allocate_shared friendship
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-11-08 17:28:53


#2481: make_shared and allocate_shared friendship
-----------------------------------------------------+----------------------
  Reporter: Michael Marcin <mike.marcin@…> | Owner: pdimov
      Type: Feature Requests | Status: new
 Milestone: To Be Determined | Component: smart_ptr
   Version: Boost 1.36.0 | Severity: Problem
Resolution: | Keywords:
-----------------------------------------------------+----------------------

Comment (by jwakely.boost@…):

 Using std::allocator_traits<A>::construct will work with C++11 or C++03
 allocators, which is what LWG 2070 suggests and what I've implemented for
 GCC 4.7

 Of course that requires a C++11 library that provides allocator_traits

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2481#comment:8>
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:07 UTC