------- Comment #1 from pinskia at gcc dot gnu dot org 2007-10-23 23:20 ------- And this is correct behavior. The C++ standard says they have to be declared still, you just have a definition.
-- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID Summary|in-class initialization of |in-class initialization of |const static data members |const static data members |and template functions |and template functions |result in udefined | |references | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33876