C++11 lambda function
bl at lue.dk
Tue Jul 18 10:28:32 CEST 2017
First, thanks for a really useful event library, it is a really good
example in a minimalistic design.
I have been using C++11 in production for a while, and I have been using
lambda functions too, with all the benefit this gives in the code layout.
So I like to know if anyone have tried to make use lambda functions as
ev++ callbacks ?
I found this article in on stacktrace :
And it seems like it should be possible to make a capturing function
pointer from an lambda, but I like to know if there is any other ideas
as how to do this, or even plans to make this possible directly
(ev++11.h :-)) ?
More information about the libev