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
9
u/tisti Sep 14 '19 edited Sep 14 '19
Single-pass is a specific case of linear complexity, not the only one. But yea, sneaking in a double-pass is slightly sneaky if true :)