Boost logo

Boost :

Subject: Re: [boost] [Container] Inner Smart Pointers
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2016-02-23 06:19:54

On 23/02/2016 4:20, Phil Bouchard wrote:
> On 2016-02-18 11:53 PM, Phil Bouchard wrote:
>> I have to admit MSVC 2015 got a clean STL...
>> block_ptr_test2.cpp doesn't crash but some assertions are wrong (in my
>> block_ptr tests).
>> Is there any plans from Boost to make the Boost.Container work with
>> inner smart pointers? I don't think there is any other alternative if
>> people want to plugin memory management.
> After trying out to integrate the smart pointer into the MSVC's STL, it
> looks like they use raw node pointers so I don't think it'll be possible
> to do that after all.
> Is there any interests to modify the Boost.Container to use smart pointers?

Boost.Container already uses whatever pointer
allocator_traits<A>::pointer returns. That's the standard customization
point for smart pointers in containers.


Boost list run by bdawes at, gregod at, cpdaniel at, john at