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: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 May 2004 13:48:26 -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 pinskia at gcc dot gnu dot org 2004-05-12 13:48 -------
That is because I was wrong you have to supply the full template declaration for the variables like the
following:
template <class K, class V> V EST_THash< K, V >::Dummy_Value;
template <class K, class V> K EST_THash< K, V >::Dummy_Key;
template EST_Regex * EST_THash< EST_String, EST_Regex * >::Dummy_Value;
template EST_String EST_THash< EST_String, EST_Regex * >::Dummy_Key;
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15394