C++ iterator, do I need to reset after using set find method
Should I need to call reset method or an开发者_高级运维ything, when I try to use c++ stl set find method multiple times?
set::find
is a const
method, it doesn't change the container. It doesn't work in findfirst/findnext style. You can call it multiple times without any additional actions.
精彩评论