gecko-dev/tools/clang-tidy/test/modernize-avoid-bind.cpp

7 строки
120 B
C++

#include "structures.h"
int add(int x, int y) { return x + y; }
void f_bind() {
auto clj = std::bind(add, 2, 2);
}