https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123783
--- Comment #4 from Ville Voutilainen <ville.voutilainen at gmail dot com> --- And I might add, I don't see how there's a "lambda scope that intervenes between the expression and the point at which S was introduced", when S is a template parameter of the lambda.
