As soon as you define an opIndex, alias this isn't considered anymore.
Is this wanted behavior?
I'd have expected this to work:
T[] data;
T opIndex(size_t i, size_t j)
{
return data[i*numCols+j];
}
alias data this;
Then dynmap[3] would work by using data directly.
But: opIndex (ulong i, ulong j) is not callable using argument types (int)