Let's say that I've got a class that wraps a raw array. I've implemented the operator[] method which is great. In implementing the at() method, I decided that I'd just use:.Code:(*this)[index]
Is that weird C++?
Let's say that I've got a class that wraps a raw array. I've implemented the operator[] method which is great. In implementing the at() method, I decided that I'd just use:.Code:(*this)[index]
Is that weird C++?