------- Comment #9 from gdr at cs dot tamu dot edu 2007-10-12 16:19 ------- Subject: Re: initialization of non-integral member constant not rejected
"rguenth at gcc dot gnu dot org" <[EMAIL PROTECTED]> writes: | We should also warn by default with -std=c++98 or -std=c++0x. I agree that we should do something for -std=c++98. For -std=c++0x, I introduced the notion of `literal type' in C++0x so that you can actually do more folding at compile time (including objects of class types), and you can initialize constexpr static data member objects of literal type in class definition. -- Gaby -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33750