#include <functional>
int foo(int a, int b) { return a - b; }
int main()
{
int arg =10 ;
std::bind(foo, 1, std::placeholders::_1)(arg);
std::bind(foo, 1, std::placeholders::_1)(10);
}
CiNpbmNsdWRlIDxmdW5jdGlvbmFsPgoKaW50IGZvbyhpbnQgYSwgaW50IGIpIHsgcmV0dXJuIGEgLSBiOyB9CgppbnQgbWFpbigpCnsKCWludCBhcmcgID0xMCA7CglzdGQ6OmJpbmQoZm9vLCAxLCBzdGQ6OnBsYWNlaG9sZGVyczo6XzEpKGFyZyk7CglzdGQ6OmJpbmQoZm9vLCAxLCBzdGQ6OnBsYWNlaG9sZGVyczo6XzEpKDEwKTsKfQ==