
24 Aug
2007
24 Aug
'07
8:13 p.m.
Michael Marcin wrote:
That sounds good to me. If the serialization library is doing something non-trivial at static initialization or destruction time than it can't be used in many embedded environments that either don't perform static destruction or require a explicit initialization of their runtime library, free store/heap, etc.
Those are pretty much the same constraints that apply to most UNIXes for dynamic libraries. So if you want to write a portable library you better don't use non-trivial static initialization or destruction, anyway. Regards, Tobias