Re: [Boost-bugs] [Boost C++ Libraries] #11032: boost::offset_ptr needs explicit ctor

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11032: boost::offset_ptr needs explicit ctor
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-11-17 14:29:09


#11032: boost::offset_ptr needs explicit ctor
-------------------------------+--------------------------
  Reporter: stheophil@… | Owner: igaztanaga
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: interprocess
   Version: Boost 1.57.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+--------------------------

Comment (by Chris Clearwater <chris@…>):

 Please see the table here:
 http://en.cppreference.com/w/cpp/concept/Allocator

 The C++11 standard requires `static_cast<A::pointer>(vptr)` to succeed.

 I have also run into this problem when trying to use my own container,
 which uses void_pointer to store child pointers, with Boost.Interprocess.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11032#comment:3>
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:19 UTC