$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: James Sutherland (James.Sutherland_at_[hidden])
Date: 2008-07-07 16:49:11
Correction:
int main()
{
boost::function<int(int)> f;
X x;
f = std::bind1st( std::mem_fun(&X::foo), &x);
std::cout << f(5) << std::endl;
}