[RFC][PATCH] Replace deprecated mem_fun_ref with lambda

Stephan Witt st.witt at gmx.net
Tue Feb 18 09:51:27 UTC 2020


Am 13.02.2020 um 18:03 schrieb Pavel Sanda <sanda at lyx.org>:
> 
> On Wed, Feb 12, 2020 at 08:45:06PM +0100, Jean-Marc Lasgouttes wrote:
>> I replace a thing I do not really understand with another thing that I do
>> not really understand either. Can someone tell me whether the use o lambda
>> expression is OK? I do not know how to test it.
> 
> I would be more happy to just rewrite it with a normal loop.

I agree but cannot provide a patch. I don’t know how to test it.

Stephan

> 
> - Lambda expression will break older gcc's and I do not find that fortunate
>  at the very end of development cycle.
> - Comitting code which neither of us can fluently read does not seem as a good
>  idea either unless we want to force ourselves to start using lambdas in general.
> 
> Pavel
> -- 
> lyx-devel mailing list
> lyx-devel at lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-devel



More information about the lyx-devel mailing list