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: unassig...@gcc.gnu.org
        ReportedBy: zhu...@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."

Reply via email to