static const double pi = 3.1415;

Mark Mitchell mark@codesourcery.com
Tue Feb 18 16:26:00 GMT 2003



--On Tuesday, February 18, 2003 08:39:00 AM +0100 Gabriel Dos Reis 
<gdr@integrable-solutions.net> wrote:

> I would propose we deprecate it in 3.3 and remove it in 3.4 --
> following existing practice.  What do you think?

I assume that by "it" you mean initializing static floating-point data 
members in-class.

I still think that in some sense there's nothing to deprecate; this was a 
very unofficial extension.

Your proposal is OK with me, if there's a good patch for it.

-- 
Mark Mitchell                mark@codesourcery.com
CodeSourcery, LLC            http://www.codesourcery.com



More information about the Gcc mailing list