I was wondering if anybody can tell me precisely when the destructors
of static objects are called.
C++ doesn't not specify the order in which dtors are called. You
cannot rely on this order as it can and has changed before. You
likely need to restructure your code such that this is not an issue.
What I've found to work best is to ensure that dtors of static
objects do nothing nontrivial.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden