Reputation: 14664
Should I need to call reset method or anything, when I try to use c++ stl set find method multiple times?
Upvotes: 0
Views: 978
Reputation: 99565
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.
Upvotes: 7