std::bind_front is a simpler std::bind alternative, introduced in C++20.
Unlike std::bind, it doesn’t allow for arbitrary reordering of arguments and only allows binding of the leading arguments.
As a consequence, std::bind_front doesn’t suffer from some limitations of std::bind.
Compiler Explorer link: https://compiler-explorer.com/z/rrzcbPh1f