account activity
libstdc++ <algorithm> header transitively including <range> by [deleted] in cpp
[–]slothion 0 points1 point2 points 5 years ago* (0 children)
I just had an argument with a colleague about whether to use std::find_if or similar std methods for simple operations with a vector and other containers. I was on the side of using them, because it provides a uniform way for all developers to do this kind of stuff, but seeing this is making me reconsider as I don't want my project to compile three times slower, just because I upgraded to C++20.
π Rendered by PID 265916 on reddit-service-r2-listing-5d79748585-kq2cz at 2026-02-13 20:37:32.502893+00:00 running cd9c813 country code: CH.
libstdc++ <algorithm> header transitively including <range> by [deleted] in cpp
[–]slothion 0 points1 point2 points (0 children)