[Bug c++/70723] Missed optimization opportunity for lambda converted to fun-ptr

m.cencora at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Apr 19 12:19:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70723

--- Comment #2 from m.cencora at gmail dot com ---
If that's the case then it should get automatically resolved once C++17 is
implemented - C++17 introduces constexpr lambdas.

But it would be great to have this optimization also in C++14 mode.


More information about the Gcc-bugs mailing list