clang linter of MongoDB toolchain version 4 complains on using std::bind:
src/mongo/db/query/optimizer/cascades/implementers.cpp:780:34: error: prefer a lambda to std::bind [modernize-avoid-bind,-warnings-as-errors] auto makePredicate = std::bind(&elemMatchMakePredicate,