Program size, linking matter, and static this()

Jonathan M Davis jmdavisProg at gmx.com
Fri Dec 16 16:53:58 PST 2011


On Friday, December 16, 2011 18:47:02 Andrei Alexandrescu wrote:
> One more thing - could you take the time to explain why you believe
> calling tzset() compulsively is needed?

Some of the C stuff that LocalTime uses requires it. If LocalTime is lazily 
initialized, then it can be called then though rather than in the shared 
static constructor.

- Jonathan M Davis


More information about the Digitalmars-d mailing list