I have a std::set, what\'s the proper way to find the largest int in this set?
std::set
I believe you are looking for std::max_element:
The max_element() function returns an iterator to the largest element in the range [start,end).
max_element()