For example, how to implement the following function without any other information?
bool isEnd(set<int> :: iterator itr);
I know I can do it like this, but how to do it without input variable "s"?
bool isEnd(const set<int> &s, set<int> :: iterator itr) {
return itr == s.end();
}
See Question&Answers more detail:os