From: William S Fulton <wsf@fu...> - 2013-09-09 18:00:41
On 09/09/13 09:38, Mathieu Monney wrote:
> Hi there,
> I'm wondering what's the current status of supporting lambda closure of the std::function<> template into Swig? Any progress so far?
The C++11 work will be released in SWIG 3, probably due out before end
of year. Please try it out from the gsoc2009-matevz branch in github.
See the docs in the Doc/Manual/Cpp0x.html and the
Examples/test-suite/cpp0x_function_objects.i testcase. std::function has
pretty basic support that needs better integration with the individual
target languages, but lambdas are in a fairly good shape.