Boost logo

Boost :

From: David Abrahams (abrahams_at_[hidden])
Date: 2001-03-16 18:41:49


Correct. The problem is that there's no generally reliable way to tell if
you're unwinding the stack. uncaught_exception(), even when correctly
implemented doesn't do what we might like when we are inside a catch block
:-0

-Dave
----- Original Message -----
From: "Eugene Karpachov" <jk_at_[hidden]>

> Throwing from a dtor is liable to terminate your app.

Only when you are unwinding stack already - otherwise it just non-desirable
but generally safe.


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