Y
Hacker News
new
|
ask
|
show
|
jobs
by
SJC_Hacker
6 days ago
List::sort is present exactly for this reason
STD::sort only works on a random access iterator, it won’t even compile if you try it on a list