[Bug c++/56480] Explicit specialization in a namespace enclosing the specialized template

lichray at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Nov 29 23:49:00 GMT 2013


Zhihao Yuan <lichray at gmail dot com> changed:

           What    |Removed                     |Added
                 CC|                            |lichray at gmail dot com

--- Comment #3 from Zhihao Yuan <lichray at gmail dot com> ---
(In reply to Nathan Ridge from comment #2)
> (In reply to comment #1)
> > I think this is
> > http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#374
> Ah, I see. The code is accepted if a declaration (without definition) of the
> specialization is placed in the namespace. Didn't realize that.

?? That was the c++03 status, and the new wording ("or to a specialization
thereof") relaxed this requirement.

Has this been implemented?

More information about the Gcc-bugs mailing list