forked from boostorg/function
Move to the "new" function<> syntax. He he.
[SVN r20320]
This commit is contained in:
@ -23,7 +23,7 @@ struct X {
|
||||
int
|
||||
main()
|
||||
{
|
||||
boost::function<int, int> f;
|
||||
boost::function<int (int)> f;
|
||||
X x(7);
|
||||
f = std::bind1st(std::mem_fun(&X::foo), &x);
|
||||
|
||||
|
Reference in New Issue
Block a user