This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/56480] Explicit specialization in a namespace enclosing the specialized template
- From: "zeratul976 at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 05 Mar 2013 04:30:26 +0000
- Subject: [Bug c++/56480] Explicit specialization in a namespace enclosing the specialized template
- Auto-submitted: auto-generated
- References: <bug-56480-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56480
--- Comment #2 from Nathan Ridge <zeratul976 at hotmail dot com> 2013-03-05 04:30:26 UTC ---
(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.