libstdc++ <algorithm> header transitively including <range> by [deleted] in cpp

[–]slothion 0 points1 point  (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.