Boost logo

Boost :

Subject: Re: [boost] Looking for thoughts on a new smart pointer: shared_ptr_nonnull
From: Nevin Liber (nevin_at_[hidden])
Date: 2013-10-08 13:19:52


On 7 October 2013 21:18, Gavin Lambert <gavinl_at_[hidden]> wrote:

> While it's *possible* that the null came from some global state that will
> break all future operations, it's more likely that it was some local state
> within the operation that becomes irrelevant when it starts processing the
> next operation anyway.
>

In other words, you are pretending the code knows the root cause of the
programming bug it was never supposed to have and can magically recover
from it.

(Not sure what this has to do with Boost anymore...)

-- 
 Nevin ":-)" Liber  <mailto:nevin_at_[hidden]>  (847) 691-1404

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk