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 04:20:04
On Tue, Mar 24, 2015 at 11:14 AM, Olaf van der Spek <ml_at_[hidden]> wrote:
> On Tue, Mar 24, 2015 at 8:12 AM, Andrey Semashev
> <andrey.semashev_at_[hidden]> wrote:
>> 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.
> We're talking about shared_ptr.
Oh, right, sorry.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk