Hi.
According lambda documentation there is a possibility to use function call operator in lambda expression. But I can’t compile following code using MS Visual Studio 2003.NET compiler:
#include <boost/lambda/lambda.hpp>
using namespace boost::lambda;
int foo(int i) { return i; }
Somewhere in main function:
(_1(1))(foo);
Could you give me example of using function call operator in lambda expression?
In advance thank you very much.