Creating my own Iterators

前端 未结 6 1702
鱼传尺愫
鱼传尺愫 2020-11-29 15:58

I\'m trying to learn C++ so forgive me if this question demonstrates a lack of basic knowledge, you see, the fact is, I have a lack of basic knowledge.

I want some h

6条回答
  •  借酒劲吻你
    2020-11-29 16:12

    You can read this ddj article

    Basically, inherit from std::iterator to get most of the work done for you.

提交回复
热议问题