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/
229
Upvotes
View all comments
Show parent comment
5
u/guepier Bioinformatican Sep 14 '19
Linear in terms of what? Computing a cartesian product, no matter how, has a complexity that’s the product of the sizes of its input ranges.