static-const-integral in-class-init without explicit definition

Jonathan Wakely jwakely.gcc@gmail.com
Sun Sep 21 11:03:00 GMT 2014


GCC supports it because it is valid C++, but see
https://gcc.gnu.org/wiki/VerboseDiagnostics#missing_static_const_definition
for details of when a definition is needed.



More information about the Gcc-help mailing list