This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17037] static map in template crash on runtime when inserting
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Aug 2004 22:52:30 -0000
- Subject: [Bug c++/17037] static map in template crash on runtime when inserting
- References: <20040815190201.17037.florent.gallet@orange.fr>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-08-15 22:52 -------
This is the syntax to use:
template <typename T> typename f<T>::mapType f<T>::months;
template class f<char>;
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17037