C
codefixer
Hello,
I am trying to understand if ITERATORS are tied to CONTAINERS.
I know the difference between 5 different or 6(Trivial, on SGI).
But what I fail to understand is how can I declare all 5 kinds of
iterators on say a vector.
OR is it that any iterator declared on Vector is Random Iterator which
has the functionality of all the others.
But I still want to know how to declare just an Input or Output
iterator on vector(is it possible ?)
What is the best reference to understand which(iterator) can be
declared on which(container) and how ?
Thanks.
I am trying to understand if ITERATORS are tied to CONTAINERS.
I know the difference between 5 different or 6(Trivial, on SGI).
But what I fail to understand is how can I declare all 5 kinds of
iterators on say a vector.
OR is it that any iterator declared on Vector is Random Iterator which
has the functionality of all the others.
But I still want to know how to declare just an Input or Output
iterator on vector(is it possible ?)
What is the best reference to understand which(iterator) can be
declared on which(container) and how ?
Thanks.