News for hackers. Stuff that matters.
Re:Code Smells: Iteration by khedoros1 on Wednesday August 23, 2017 @05:37PM (#15085421)
> Does C++ Pair<> define operator< and operator>?

It does.

std::sort(pairarray.begin(),pairarray.end()) works about how you'd expect, as long as operator< is defined for the constituent types of the pair.

There are no comments on this comment yet.