This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]