
13 Aug
2012
13 Aug
'12
6:59 p.m.
On 8/13/2012 2:35 PM, Stuart Malone wrote:
I'm having trouble compiling some very simple boost::function and boost::bind code under Xcode 4.4.1 using the default Apple LLVM compiler 4.0. I've simplified the code down to:
#include
#include struct Monitor { void Change(int a, int b);
void Lose() { auto b = boost::bind(&Monitor::Change, this);
shouldn't this be: auto b = boost::bind(&Monitor::Change, this, _1, _2);
boost::function
f(b); } };
Jeff