User Defined Attributes

simendsjo simendsjo at gmail.com
Tue Nov 6 02:15:23 PST 2012


On Tuesday, 6 November 2012 at 10:10:37 UTC, Tove wrote:
> Tooo much fun! Argh, _must_ _stop_ _playing_ and actually work 
> ;(
>
> ["int a;"]
> class A
> {
> }
>
> class B : A
> {
>   mixin(__traits(getAttributes, typeof(super))[0]);
> }
>
> can't wait to see all the creative uses this will enable!

Or obfuscation :)


More information about the Digitalmars-d-announce mailing list