And this:
class TestInt: Test {
alias opIndex = super.opIndex!int;
}
class TestString: Test {
alias opIndex = super.opIndex!string;
}
And this:
class TestInt: Test {
alias opIndex = super.opIndex!int;
}
class TestString: Test {
alias opIndex = super.opIndex!string;
}