Understanding Iterators in the STL

后端 未结 6 1406
悲&欢浪女
悲&欢浪女 2020-12-08 06:07

What exactly are iterators in the C++ STL?

In my case, I\'m using a list, and I don\'t understand why you have to make an iterator std::list

6条回答
  •  余生分开走
    2020-12-08 06:53

    There already exists a lot of good explanations of iterators. Just google it.

    One example.

    If there is something specific you don't understand come back and ask.

提交回复
热议问题