24 Mar
2015
24 Mar
'15
8:20 a.m.
On Tue, Mar 24, 2015 at 11:14 AM, Olaf van der Spek
On Tue, Mar 24, 2015 at 8:12 AM, Andrey Semashev
wrote: On Mon, Mar 23, 2015 at 6:00 PM, Olaf van der Spek
wrote: On Sun, Mar 22, 2015 at 11:04 PM, Jakob Riedle
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.