[Bug c++/33876] in-class initialization of const static data members and template functions

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Oct 24 00:29:00 GMT 2007



------- Comment #3 from pinskia at gcc dot gnu dot org  2007-10-24 00:29 -------
Subject: Re:  in-class initialization of const static data members and template
functions

> But then why the different bahaviour for

Because the standard does not require a diagnostic for this invalid code.

-- Pinski


-- 


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



More information about the Gcc-bugs mailing list