I have a lot of functors that I am passing to a function to do some testing work. My goal is to do these with std::bind
and not use lambdas. But the very simple cases seem hard to do with bind
. My first question was here.
Now I want to know if there is a pass through delayed function call that I can create with bind
. Something like: auto foo = std::bind( std::placeholders::_1 )
Such that foo( 13 )
will return 13.