Possible Duplicate:
Operator[][] overload
I've looked on the internet but can't find a definitive answer to this question so here I am.
I know that: operator[][]()
is not a valid operator overloading, but is their a way to overload the [][] operator (used on vector<vector<typename>>
for example).
I need this because I'm doing a sort of wrapper class which contains a vector of vector, and I would have liked