Boost logo

Boost :

Subject: Re: [boost] Looking for thoughts on a new smart pointer: shared_ptr_nonnull
From: Rhys Ulerich (rhys.ulerich_at_[hidden])
Date: 2013-10-02 13:33:36

> Anyway, I think, such a pointer does not behave like a real pointer,
> so it shouldn't be called as such. It looks more like a reference,
> except that the referred object is accessed through operator->. Maybe
> it should be called shared_ref because of it. Thinking about it this
> way, there is no need for reset() or constructors from pointers - only
> assignment, emplace() and forwarding constructors.


- Rhys

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