Comment by SJC_Hacker
6 hours 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
6 hours 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
No comments yet
Contribute on Hacker News ↗