Speaking of structs, shouldn't it be possible to write this:?
struct AAWrapper(KeyType, ValType)
{
ValType[][KeyType] payload;
alias payload.opIndex opIndex;
}The reasoning behind this is that opIndex in AAWrapper really just forwards to payload's opIndex, while other functions like opIndexAssign would be specialized in AAWrapper. This currently does not compile though.
