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

2006-02-18 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-02-18 22:26 --- *** Bug 26355 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

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

2005-06-16 Thread zappa at yandex-team dot ru
--- Additional Comments From zappa at yandex-team dot ru 2005-06-16 20:12 --- Thank you a lot! I'm sorry to report a false bug. Just used with older version and thought that found a regression. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22095

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

2005-06-16 Thread pinskia at gcc dot gnu dot org
--- 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

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

2005-06-16 Thread bangerth at dealii dot org
--- 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