[Bug c++/10634] in-class initialization of static data members no longer allowed

daniel.kruegler at googlemail dot com gcc-bugzilla@gcc.gnu.org
Thu May 26 12:05:00 GMT 2011


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

Daniel Krügler <daniel.kruegler at googlemail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |daniel.kruegler at
                   |                            |googlemail dot com

--- Comment #13 from Daniel Krügler <daniel.kruegler at googlemail dot com> 2011-05-26 11:57:26 UTC ---
(In reply to comment #12)
> C++0x supports the desired functionality with 'constexpr'

This is no longer true since the FDIS, where reinterpret_cast has been removed
from constant expressions (5.19 p2 b13)



More information about the Gcc-bugs mailing list