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

--- Comment #1 from Daniel Krügler <daniel.kruegler at googlemail dot com> 
2012-05-25 06:56:06 UTC ---
This looks indeed like an odd compiler error and one really needs all three
specifiers static, constexpr, and *any* exception-specification to produce the
problem. For completeness the error is:

"7|error: declaration of 'static constexpr T A<T>::foo() [with T = int]' has a
different exception specifier|
3|error: from previous declaration 'static constexpr T A<T>::foo() noexcept
(true) [with T = int]'
"

Reply via email to