https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106668 --- Comment #1 from Jean-Michaël Celerier <jeanmichael.celerier at gmail dot com> --- When checking on gcc.godbolt.org it seems that it crashes as far back as GCC 4.9.0 (and 4.8 doesn't seem to be able to compile generic lambdas)