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

--- Comment #2 from Matthias Kretz <kretz at kde dot org> 2012-05-25 08:53:36 
UTC ---
Does the standard allow exceptions in constexpr? A throw is not exactly a
return statement, but according to the rule "constexpr function shall satisfy
[...] exactly one return statement" I'd expect a constexpr function can never
throw anyway. Thus the noexcept itself seems to make no sense in the first
place.

Reply via email to