Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-10-06 07:56:43


Roland Schwarz wrote:

> 3) class_once also in my current implementation has a problem
> with exceptions, thrown by ctors. once_call as I found out
> shouldnt throw (from a comment of Bill Kempf). I am considering
> calling terminate in this case. Reasonable?

No. An exception thrown by the once function needs to be propagated outwards
as-is, with the once flag unchanged.


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