https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97358
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Petr Sumbera from comment #5) > Is there any workaround for this issue? I guess replacing that [aSpecialValueMappers...](const SpecialConstant<S>& aSpecialValue) { with [=](const SpecialConstant<S>& aSpecialValue) {