
13 Aug
2012
13 Aug
'12
7:01 p.m.
On Mon, Aug 13, 2012 at 2:35 PM, Stuart Malone
#include
#include struct Monitor { void Change(int a, int b);
void Lose() { auto b = boost::bind(&Monitor::Change, this);
Try: auto b = boost::bind(&Monitor::Change, this, _1, _2); boost::bind(&Monitor::Change, this) looks like a nullary callable, which doesn't fit well with either the real signature of Monitor::Change or with your boost::function signature.
boost::function
f(b); } };