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
* [Bug c++/56119] Allows static member definition of template class in namespace not enclosing this class
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 ` zhurxx at gmail dot com
2013-01-27 16:41 ` redi at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: zhurxx at gmail dot com @ 2013-01-26 18:14 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56119
--- Comment #1 from Sergey <zhurxx at gmail dot com> 2013-01-26 18:13:48 UTC ---
Created attachment 29281
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29281
Preprocessed source
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/56119] Allows static member definition of template class in namespace not enclosing this class
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
3 siblings, 0 replies; 5+ messages in thread
From: redi at gcc dot gnu.org @ 2013-01-27 16:41 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56119
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |accepts-invalid
Status|UNCONFIRMED |NEW
Last reconfirmed| |2013-01-27
Ever Confirmed|0 |1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/56119] Allows static member definition of template class in namespace not enclosing this class
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
3 siblings, 0 replies; 5+ messages in thread
From: redi at gcc dot gnu.org @ 2013-01-27 16:59 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56119
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2013-01-27 16:59:40 UTC ---
Possibly related to PR 42018 and PR 47294
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/56119] Allows static member definition of template class in namespace not enclosing this class
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
` (2 preceding siblings ...)
2013-01-27 16:59 ` redi at gcc dot gnu.org
@ 2021-11-25 19:29 ` pinskia at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-11-25 19:29 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56119
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=103426
CC| |fchelnokov at gmail dot com
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 103426 has been marked as a duplicate of this bug. ***
^ 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).