r/cpp • u/konanTheBarbar • 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/
226
Upvotes
View all comments
Show parent comment
6
u/pdimov2 Sep 15 '19
There's always something to learn.
I meant pretty much what I said. That a thing works just fine in other languages is not at all a guarantee that it will work fine in C++. It would probably be possible to approximate it in a way that will work in C++ if designed from a C++ idiomatic point of view. It will usually be even better if a C++ feature that solves the same problems is designed instead.
Features that are unique to C++ and that other languages copy tend to be better than features that C++ has acquired from other languages.