[Bug c++/11930] Cannot define static template struct member
schnetter at uni-tuebingen dot de
gcc-bugzilla@gcc.gnu.org
Fri Aug 15 18:06:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11930
schnetter at uni-tuebingen dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
------- Additional Comments From schnetter at uni-tuebingen dot de 2003-08-15 18:06 -------
The proposed solution, namely adding "template<>" in front of the definition
of the variable a, does not solve the problem. The compiler now accepts the
construct, but the object file does not contain a definition of the variable
a. (The syntax reminds me of a template specialisation, which is not at all
what I want.)
More information about the Gcc-bugs
mailing list