Is it possible to overload [] operator twice? To allow, something like this: function[3][3](like in a two dimensional array).
[]
function[3][3]
If it is pos
For a two dimensional array, specifically, you might get away with a single operator[] overload that returns a pointer to the first element of each row.
Then you can use the built-in indexing operator to access each element within the row.