HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by a_t48 | Hacker News Reader
Parent
Full thread
a_t48
·
What’s the reasoning behind this?
View on HN
enitihas
·
I think to be comparable in c++ types are required to implement < operator and the same is exclusively used by the stdlib.
darkmx0z
·
If you sort2(a, b), it would be nice if min(a, b) == a && max(a, b) == b.
Reply on news.ycombinator.com