[LLVMbugs] [Bug 19631] explicit specialization outside of template's namespace inaccuretly accepted

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri May 2 03:01:07 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=19631

Filip Roséen <filip.roseen at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #4 from Filip Roséen <filip.roseen at gmail.com> ---
(In reply to comment #1)
> Your quote from the standard shows that Clang is correct to accept this. The
> specialization is in a namespace enclosing N. Since it's got a qualified
> name, the second restriction does not apply.

I also note that you write "the specialization is in a namespace enclosing N",
that's not what the standard is talking about.

It's talking about the _namespace enclosing the template_, not _the namespace
enclosing the namespace enclosing the template_.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140502/fb0d3695/attachment.html>


More information about the llvm-bugs mailing list