enum scope

Daniel Murphy yebblies at nospamgmail.com
Sat Jan 28 06:59:31 PST 2012


"Andrej Mitrovic" <andrej.mitrovich at gmail.com> wrote in message
> int foo, bar;
> alias foo target;
> alias bar target;  // error
> mixin("alias bar target;");  // but use this instead and no problem..

Yes, but does target end up referenceing foo or bar? 




More information about the Digitalmars-d mailing list