
6 Oct
2006
6 Oct
'06
2:06 p.m.
Anthony Williams wrote:
I don't like the atexit call for registering the destructors,
Why? You can't rely on the presence of any globally contructed objects during atexit. So why should once_class object be different? Also the MSVC compiler is doing just that for local static objects dtors: scheduling a call to atexit. Roland