This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/15394] g++ fails to produce a static definition for static template member
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 May 2004 02:12:00 -0000
- Subject: [Bug c++/15394] g++ fails to produce a static definition for static template member
- References: <20040512134220.15394.razeh@yahoo.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From giovannibajo at libero dot it 2004-05-13 02:11 -------
Wolfgang is right, and before anybody asks, no, there is no way to define a of
a specialized member variable without giving it an initializer, because the
syntax clashes with the specialization declaration, and it is always resolved
as the latter.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15394