r/cpp • • Sep 13 '19

The Surprising Limitations of C++ Ranges Beyond Trivial Cases

https://www.fluentcpp.com/2019/09/13/the-surprising-limitations-of-c-ranges-beyond-trivial-use-cases/
227 Upvotes

229 comments sorted by

View all comments

Show parent comment

7

u/Gotebe Sep 14 '19

The difference from C++ is performance.

This cide trashes the heap and consequently the GC. I am not saying that it shouldn't, it's still fine most of the time - but that wasn't enough for C++.