Because a pointer is an iterator, why didnt the STL designers simply use pointers instead of iterators?

Question:

Because a pointer is an iterator, why didn’t the STL designers simply use pointers instead of iterators?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question

C++ Primer Plus

ISBN: 9780321776402

6th Edition

Authors: Stephen Prata

Question Posted: