This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: pointer member constant expression
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.