How do you overload the [][] operator?

I've seen pages referencing how to overload the [] operator but not the [][] operator.
You can trick that using a dummy class
But it's usually recommended to overload binary parentheses
You overload the [] operator which returns a class that itself also overloads the [] operator.
Last edited on
Topic archived. No new replies allowed.