alias and mixin
evilrat via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Aug 31 04:26:47 PDT 2014
what the problem with this?
alias myint = mixin("int"); // <- basic type expected blah blah
blah...
mixin alias unusable now, it blocks various cool templates and
really frustrating(such things make D feels like some cheap
limited language), is there any way to tell compiler explicitly
use mixin result for aliasing like above?
More information about the Digitalmars-d-learn
mailing list