Re:Std::string half of all allocations in the Chrome browser...
by nightcracker on Friday December 05, 2014 @05:40PM
(#8707348)
#5 and many, many other reasons is why C++ desperately needs a standardized range type. Let's pray it comes in C++17.
[ Parent
| on HN ]
Re:Std::string half of all allocations in the Chrome browser...
by pja on Saturday December 06, 2014 @05:12AM
(#8708868)
What would a range type offer over a pair of iterators?
Re:Std::string half of all allocations in the Chrome browser...
by humanrebar on Saturday December 06, 2014 @02:36PM
(#8709938)
cout << takeFirstN(sort(myVector), 10) << '\n';
...try that with iterators.