new requirement of "constexpr" for static const float data members is too restrictive

Miles Bader miles@gnu.org
Tue Nov 30 09:05:00 GMT 2010


On Tue, Nov 30, 2010 at 5:13 PM, Gabriel Dos Reis
<gdr@integrable-solutions.net> wrote:
> If you are doing that, why don't you write a simpler code by
> just defining (e.g. initializing) the data member outside the class?

'cause I want the compiler to be able to use (inline) the underlying values.

-Miles

-- 
Cat is power.  Cat is peace.



More information about the Gcc mailing list