[Bug c++/56119] New: Allows static member definition of template class in namespace not enclosing this class
zhurxx at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sat Jan 26 17:45:00 GMT 2013
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."
More information about the Gcc-bugs
mailing list