|
Boost : |
Subject: Re: [boost] Boost sprint: #3407 boost::call_once not re-entrant(atleast in win32)
From: Peter Dimov (pdimov_at_[hidden])
Date: 2009-11-23 10:25:32
Gottlob Frege wrote:
> But then complete_once() would imply recursion also, so I decided to
> separate the concepts.
If you look at local statics for guidance [6.7/4 in N3000]:
"If the initialization exits by throwing an exception, the initialization is
not complete, so it will be tried again the next time control enters the
declaration."
"If control re-enters the declaration recursively while the object is being
initialized, the behavior is undefined."
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk