[Bug c++/22095] static template class member definition doesn't compile

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jun 16 20:03:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-16 20:02 -------
This is invalid.

You want the follwoing instead:
template<> intsample::keytype * intsample::keyptr = 0;

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22095



More information about the Gcc-bugs mailing list