Hello everyone,
For random access iterator, operator[] is supported. Mentioned in Bjarne's book, Chapter 19 (Iterators and Allocators).
I have not used operator[] on random access iterator before and I have not found a good and simple sample either.
Could anyone show its usage with some pseudo code please?
thanks in advance,
George
For random access iterator, operator[] is supported. Mentioned in Bjarne's book, Chapter 19 (Iterators and Allocators).
I have not used operator[] on random access iterator before and I have not found a good and simple sample either.
Could anyone show its usage with some pseudo code please?
thanks in advance,
George