Boost logo

Boost Users :

Subject: [Boost-users] Using function operator in lambda expression
From: Alexander Khomyak (Alexander.Khomyak_at_[hidden])
Date: 2011-06-02 07:32:05



According lambda documentation
#lambda.operator_expressions> 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:




Could you give me example of using function call operator in lambda

In advance thank you very much.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at