> . AFAIK, the static destructors of objects in shared libraries are 
> called by atexit functions, arent they ? 

The semantics of functions registered with atexit() when dynamically loaded 
shared libraries are involved is completely system-dependent and a big mess. 
atexit() is close to unusable because what it actually does, exactly, is so 
underspecified. Im my not so humble opinion atexit() should be banned. I 
seriously doubt any C++ implementation directly uses the C atexit() function to 
handle destruction of static objects.

--tml


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to