Why is a static struct's dtor called at the exit of a function?

Steven Schveighoffer schveiguy at yahoo.com
Fri Jul 22 09:10:00 PDT 2011


On Fri, 22 Jul 2011 02:57:38 -0400, Diego Canuhé <canuhedc at gmail.com>  
wrote:

> thanks ;)

Don't feel bad, static is probably the most abused keyword in D and C++.   
It has about 3 or 4 meanings depending on context.

-Steve


More information about the Digitalmars-d-learn mailing list