Saturday, 17 August 2013

C++ STL, iterator or index number?

C++ STL, iterator or index number?

While i using C++ *STL*, should i use iterator or the index number?
Another thing, is all the templates (list,deque,...) accept both iterator
and index number (like vector) or not?

No comments:

Post a Comment