From: Roland Schwarz (roland.schwarz_at_[hidden])
Date: 2006-10-06 11:07:20


Anthony Williams wrote:
> The MSVC compiler will schedule a call for each static object, so they are
> destroyed in the correct reverse order, and correctly interleaved with other
> calls to atexit, as per 3.6.3p3 of the C++ Standard.

Strictly speaking we do not have static objects but dynamically created
objects on the heap. So we simply cannot be not conformant to the
standard.

But I think your intent is: since we make the object appear like
they are static, they should behave similar to real static objects.
Correct?

Roland