Hacker News new | past | comments | ask | show | jobs | submit login

What would a range type offer over a pair of iterators?



cout << takeFirstN(sort(myVector), 10) << '\n';

...try that with iterators.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: