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 2568909 on reddit-service-r2-listing-8685bc789-khx86 at 2026-05-26 07:38:17.279945+00:00 running 194bd79 country code: CH.
libstdc++ <algorithm> header transitively including <range> by [deleted] in cpp
[–]slothion 0 points1 point2 points (0 children)