If I define a pointer to an object that defines the [] operator, is there a direct way to access this operator from a pointer?
[]
For example, in the follo
return VecPtr->operator[](0);
...will do the trick. But really, the (*VecPtr)[0] form looks nicer, doesn't it?
(*VecPtr)[0]