public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/56119] New: Allows static member definition of template class in namespace not enclosing this class
@ 2013-01-26 17:45 zhurxx at gmail dot com
  2013-01-26 18:14 ` [Bug c++/56119] " zhurxx at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: zhurxx at gmail dot com @ 2013-01-26 17:45 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56119

             Bug #: 56119
           Summary: Allows static member definition of template class in
                    namespace not enclosing this class
    Classification: Unclassified
           Product: gcc
           Version: 4.7.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zhurxx@gmail.com


Created attachment 29280
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29280
Demonstration of bug

As in 9.4.2/2 of N3242 said: "The definition for a static data member shall
appear in a namespace scope enclosing the member’s class definition."


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-11-25 19:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-26 17:45 [Bug c++/56119] New: Allows static member definition of template class in namespace not enclosing this class zhurxx at gmail dot com
2013-01-26 18:14 ` [Bug c++/56119] " zhurxx at gmail dot com
2013-01-27 16:41 ` redi at gcc dot gnu.org
2013-01-27 16:59 ` redi at gcc dot gnu.org
2021-11-25 19:29 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).