Templated opIndex?
Ola Fosheim Grøstad via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Sep 19 07:02:40 PDT 2015
And this:
class TestInt: Test {
alias opIndex = super.opIndex!int;
}
class TestString: Test {
alias opIndex = super.opIndex!string;
}
More information about the Digitalmars-d-learn
mailing list