indiantarget / quimeraengine

0 stars 0 forks source link

Add operator+ and operator- to iterators #635

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Both operators should receive an unsigned integer so the iterator is moved back 
or forth, returning a copy with the result.

Iterator operator+(u-int);
Iterator operator-(u-int);

Zero is accepted as input parameter.
If the result is out of bounds, a warning assertion will notify it and the 
result will point to the end position.

Original issue reported on code.google.com by Lince3D@gmail.com on 15 Nov 2014 at 9:51

GoogleCodeExporter commented 9 years ago

Original comment by Lince3D@gmail.com on 9 Feb 2015 at 6:30