Saturday, 31 August 2013

How to check whether the iterator hit the end without container?

How to check whether the iterator hit the end without container?

For example, how to implement the following function without any other
information?
bool isEnd(set<int> :: iterator itr);

No comments:

Post a Comment