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
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
Jump to Posthttp://www.parashift.com/c++-faq-lite/operator-overloading.html#faq-13.8
[thread]16201[/thread]
Thanks, that's exactly what I needed!
- Josh
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.