[Bug c++/22095] static template class member definition doesn't compile
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Thu Jun 16 20:01:00 GMT 2005
------- Additional Comments From bangerth at dealii dot org 2005-06-16 20:00 -------
The typedef you use is still a specialization of a template, so you
have to write
template <> intsample::keytype * intsample::keyptr = 0;
With this, it works.
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22095
More information about the Gcc-bugs
mailing list