mirror of
https://github.com/boostorg/function.git
synced 2025-07-29 04:17:15 +02:00
Move to the "new" function<> syntax. He he.
[SVN r20320]
This commit is contained in:
@ -17,7 +17,7 @@ struct int_div {
|
||||
int
|
||||
main()
|
||||
{
|
||||
boost::function<float, int, int> f;
|
||||
boost::function<float (int, int)> f;
|
||||
f = int_div();
|
||||
|
||||
std::cout << f(5, 3) << std::endl; // 1.66667
|
||||
|
Reference in New Issue
Block a user