Boost logo

Boost :

Subject: Re: [boost] [SmartPointers] Determine interest in a new pointer wrapper class "flex_ptr"
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2015-03-24 03:12:29

On Mon, Mar 23, 2015 at 6:00 PM, Olaf van der Spek <ml_at_[hidden]> wrote:
> On Sun, Mar 22, 2015 at 11:04 PM, Jakob Riedle <jakob.riedle_at_[hidden]> wrote:
>> Furthermore it always is owning, even though ownership is shared in between instances.
> A null-deleter would make it basically non-owning..

Right, and with a custom deleter, I believe, one can implement what
flex_ptr provides. However, this looks like misuse to me since
unique_ptr is supposed to imply unique ownership.

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