Boost logo

Boost :

From: Kevin Scarr (kscarr_at_[hidden])
Date: 2008-03-26 04:07:49


Daniel Frey wrote:
> Hello again,
>
> does shared_from_this() also guarantee that it never throws?
>

I think sharead_from_this() can not make this guarantee since it uses
BOOST_ASSERT() which can be defined to call a user-supplied assertion
handler. That handler could, of course, throw.

Kevin


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