mirror of
https://github.com/boostorg/function.git
synced 2025-07-29 12:27:15 +02:00
Move to the "new" function<> syntax. He he.
[SVN r20320]
This commit is contained in:
@ -23,7 +23,7 @@ main()
|
||||
{
|
||||
// The second parameter should be int[], but some compilers (e.g., GCC)
|
||||
// complain about this
|
||||
boost::function<void, int*, int, int&, float&> sum_avg;
|
||||
boost::function<void (int*, int, int&, float&)> sum_avg;
|
||||
|
||||
sum_avg = &do_sum_avg;
|
||||
|
||||
|
Reference in New Issue
Block a user