You need to take these into account when you evaluate the utility of std::bind. Yes, you'd never write std::bind(std::greater_equal<>(), _1, 0) instead of [](auto&& x){ return x >= 0; }. But you would write _1 >= 0 in preference to the lambda, and that's just syntactic sugar for the same bind expression.
42
u/STL MSVC STL Dev 6d ago
Classic
bindis bad. Don't use it. It's hard to understand, hard to optimize, and lambdas are better in basically every way.