[Bug c++/64085] ICE on C++14 lambda by-reference capture with an initializer

maxim.yegorushkin at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Nov 26 16:27:00 GMT 2014


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

--- Comment #1 from Maxim Yegorushkin <maxim.yegorushkin at gmail dot com> ---
It compiles fine if I replace the line in question with:

        return [&captive = static_cast<T&>(arg)](auto&& a) {



More information about the Gcc-bugs mailing list