Move to the "new" function<> syntax. He he.

[SVN r20320]
This commit is contained in:
Douglas Gregor
2003-10-09 05:00:38 +00:00
parent 8c8f072d09
commit b8d943ec27
3 changed files with 3 additions and 3 deletions

View File

@ -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