[Issue 2631] alias symbol this;

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 28 17:04:00 PST 2009


http://d.puremagic.com/issues/show_bug.cgi?id=2631





------- Comment #1 from andrei at metalanguage.com  2009-01-28 19:04 -------
Oh, and aliasing this should also nicely take care of the "inner name trick":

template Blah!(T) { alias T Blah; }

becomes

template Blah!(T) { alias T this; }

Much cleaner because it clarifies the intent and allows "one point of
renaming".


-- 



More information about the Digitalmars-d-bugs mailing list