summaryrefslogtreecommitdiffstats
path: root/tools/clang-tidy/test/modernize-avoid-bind.cpp
blob: c46fb31cd5261ae0d3cdcfb5798b74b463bbd90e (plain)
1
2
3
4
5
6
#include "structures.h"

int add(int x, int y) { return x + y; }
void f_bind() {
    auto clj = std::bind(add, 2, 2);
}