I have class CMatrix, where is \"double pointer\" to array of values.
class CMatrix { public: int rows, cols; int **arr; };
I simpl
You could operator[] and make it return a pointer to the respective row or column of the matrix. Because pointers support subscripting by [ ], access by the 'double-square' notation [][] is possible then.
operator[]
row or column
notation [][]