
14 Sep
2010
14 Sep
'10
9:12 p.m.
When using boost::bind, I can write this:
struct X
{
void foo(int) {}
};
shared_ptr<X> x( new X );
// bind takes shared_ptr:
bind(&X::foo, x, 3)();
But I can't write this:
function