Boost logo

Boost :

From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2005-09-07 11:10:25


Anthony Williams wrote:
[...]
> Despite tendering a version that handles non-void returns, I am not sure how
> to do it right (destruction order for statics makes it hard), so I have left
> that out for now.

Why not simply make once_flag POD and provide call_once_reset()? Plus
convenient (derived) non-POD class for dynamic context?

regards,
alexander.


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