bug-reporting
Explicit specialization in non-namespace scope does not compile in GCC
This should be a GCC bug. Full specialization should be allowed in any scope, including in class definition. According to CWG 727, [temp.expl.spec] paragraph 2 was changed from (emphasis mine) An explicit specialization shall be declared in a namespace enclosing the specialized template. An explicit specialization whose declarator-id or class-head-name is not qualified shall be … Read more