Using attributes inside template instantiation

Uranuz via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jun 26 00:11:01 PDT 2014


But if I write

@("hello") struct Hello {}

so all of the variables that have type Hello will have attribute 
@("hello") like come type qualifier because attribute is a part 
of declaration of Hello. Do I understand correctly?


More information about the Digitalmars-d-learn mailing list