User Defined Attributes
Walter Bright
newshound2 at digitalmars.com
Tue Nov 6 01:07:32 PST 2012
n 11/6/2012 12:59 AM, Jakob Ovrum wrote:
> Problem is that there's no way to do this without having the user specify which
> modules it should work for, like:
>
> import attributes;
> import a, b, c;
>
> static this() // This code cannot be automated.
> {
> initAttributes!a();
> initAttributes!b();
> initAttributes!c();
> }
>
Is that really a problem?
More information about the Digitalmars-d-announce
mailing list