pointer member constant expression
Joe Buck
Joe.Buck@synopsys.COM
Mon Feb 27 17:35:00 GMT 2006
On Mon, Feb 27, 2006 at 12:00:42PM -0000, Dave Korn wrote:
> It has been illegal to initialise a static class member inside the class
> definition since sometime back in the early 90s. You must provide a static
> instantiation elsewhere and initialise that.
g++ used to allow in-class-definition initializations that the standard
does not; some of these have either bit-rotted or been removed over time.
More information about the Gcc
mailing list