Hacker News new | ask | show | jobs
by humanrebar 4217 days ago
cout << takeFirstN(sort(myVector), 10) << '\n';

...try that with iterators.