The future of UDAs.

bearophile bearophileHUGS at lycos.com
Thu Nov 29 08:58:49 PST 2012


Iain Buclaw:

> suppose this may open a door to implement
> compiler-specific UDAs:
>
> ["gcc.flatten"]
> int foobar()
> {
> }

Maybe an enum is better:

[GccFlags.flatten]
int foobar() {
}

Bye,
bearophile


More information about the Digitalmars-d mailing list