[Bug c++/57588] [C++11][constexpr] static constexpr in class fails to link

daniel.kruegler at googlemail dot com gcc-bugzilla@gcc.gnu.org
Wed Jun 12 10:02:00 GMT 2013


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

--- Comment #5 from Daniel Krügler <daniel.kruegler at googlemail dot com> ---
(In reply to Jonathan Wakely from comment #2)
> Although shouldn't it fail to compile, due to private destructor and copy
> constructor?

I agree, it should fail. Interesting is, that the code compiles even when I use
--no-elide-constructors.


More information about the Gcc-bugs mailing list