Boost logo

Boost :

From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2008-04-14 12:17:46


Peter Dimov wrote:
> Note that N2179 doesn't require a copy to be made. If GCC allocates the
> exception objects on a heap - I have some recollections that it was doing
> that but I may be wrong
No, you're right. It goes through malloc() first, but should that fail,
it has a small separate "emergency" area.
> - it might still be possible to implement
> current_exception to return a pointer to the active exception object... if
> there's a way to insert a reference count somewhere inside.
>

That's a good idea. There *is* a reference count in there. I think I can
do something with that.

Sebastian


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