Boost logo

Boost :

Subject: Re: [boost] Looking for thoughts on a new smart pointer: shared_ptr_nonnull
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2013-10-04 09:41:13


On 03-10-2013 17:04, Matt Calabrese wrote:

> anyway. It's still just undefined behavior. Asserting accomplishes this,
> allows your function to be noexcept,

The constructor can never be no-except here since the counts needs to be
allocated.

-Thorsten


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