Y
Hacker News
new
|
ask
|
show
|
jobs
by
nightcracker
4218 days ago
#5 and many, many other reasons is why C++ desperately needs a standardized range type. Let's pray it comes in C++17.
1 comments
pja
4218 days ago
What would a range type offer over a pair of iterators?
link
humanrebar
4217 days ago
cout << takeFirstN(sort(myVector), 10) << '\n';
...try that with iterators.
link