The future of UDAs.

Walter Bright newshound2 at digitalmars.com
Thu Nov 29 18:39:19 PST 2012


On 11/30/2012 1:17 AM, Andrei Alexandrescu wrote:
> A possibly better approach would be e.g. to do a simple analysis of the
> static constructor's use of symbols, and use that set to decide whether
> two static constructors must be ordered or not.

It's not a complete solution, since using a symbol S from module A does 
not necessarily mean dependency on S being statically constructed in A. 
But it would be a start.



More information about the Digitalmars-d mailing list