http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45923

--- Comment #9 from Benjamin Kosnik <bkoz at gcc dot gnu.org> 2010-11-11 
04:54:49 UTC ---

Oh, i thought of another thing, if non-literal type with a constexpr
constructor is used to define a namespace-scope static variable, and the
"constexpr" creation cannot be honored, then we should get a helpful note that
warns the user that it failed and to anticipate possible dynamic
initialization.

I don't believe a diagnostic is required in this case but an optional warning
might be useful.

Reply via email to