Using attributes inside template instantiation

Chris Nicholson-Sauls via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jun 25 10:10:06 PDT 2014


UDA's are compile-time metadata associated with a specific 
declaration.  So in something like:

@foo int x;

The @foo is attached to x, but is not part of the type.


More information about the Digitalmars-d-learn mailing list