[Bug c++/20547] undefined reference to "static const" fields of classes
Hu dot YuehWei at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sat Mar 19 13:53:00 GMT 2005
------- Additional Comments From Hu dot YuehWei at gmail dot com 2005-03-19 13:53 -------
But according the standard, 'const static' data members of an intergral type can
now be initialized _inside_ their class. In this case, the initialization is
_also_ a definition, so _no_ further definitions are reuquired outside the class
body.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20547
More information about the Gcc-bugs
mailing list