Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
The Surprising Limitations of C++ Ranges Beyond Trivial Cases (fluentcpp.com)
7 points by jb1991 on Sept 13, 2019 | hide | past | favorite | 1 comment


I have similar experiences with the range-v3 library. Being a huge fan of LINQ I really wanted to love it. But it was just too limiting. The big advantage of something like ranges is that you should be able to quickly write something declarative. But it's just frustration after frustration.

The "ugly" code at least works the first time with easily predictable performance characteristics.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: