Sets-STL

  • + 2 comments

    if last element of set is what we are required to find, then how do we differentiate between the return of s.find(), as it should return s.end() in both the cases when there is no element found, or when the element being searched is the last element?