Can someone point me to a how-to to overload the matrix bracket operators in C++? I have a class that I want to iterate over like you would a matrix, calling image[row][col].

Thanks!
- Josh

Thanks, that's exactly what I needed!

- Josh

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.