[RFC][PATCH] Replace deprecated mem_fun_ref with lambda

Pavel Sanda sanda at lyx.org
Thu Feb 13 17:03:11 UTC 2020


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.

- 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


More information about the lyx-devel mailing list