Overloading *(iterator + n) and *(n + iterator) in a C++ iterator class?
- by exscape
(Note: I'm writing this project for learning only; comments about it being redundant are... uh, redundant. ;)
I'm trying to implement a random access iterator, but I've found very little literature on the subject, so I'm going by trial and error combined with Wikpedias list of operator overload prototypes.
It's worked well enough so far, but I've…