From: Anthony Williams (anthony_w.geo_at_[hidden])
Date: 2006-10-06 11:08:05
Roland Schwarz <roland.schwarz_at_[hidden]> writes:
> 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
> But I think your intent is: since we make the object appear like
> they are static, they should behave similar to real static objects.
Yes, that's what I meant.
-- Anthony Williams Software Developer Just Software Solutions Ltd http://www.justsoftwaresolutions.co.uk
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk