overriding alias symbols

Superstar64 via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Oct 12 15:55:27 PDT 2016


On Wednesday, 12 October 2016 at 22:46:14 UTC, Stefan Koch wrote:
> override void mixin (__traits(identifier, Method)) ...  ?
Doesn't work:
test.d(8): Error: no identifier for declarator void
test.d(9): Error: found '{' when expecting ')'
test.d(10): Error: found '}' when expecting ';'
I could make the whole function a mixin but I don't wanna hurt my 
compile times.



More information about the Digitalmars-d-learn mailing list