This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/57588] [C++11][constexpr] static constexpr in class fails to link
- From: "daniel.kruegler at googlemail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 12 Jun 2013 10:02:38 +0000
- Subject: [Bug c++/57588] [C++11][constexpr] static constexpr in class fails to link
- Auto-submitted: auto-generated
- References: <bug-57588-4 at http dot gcc dot gnu dot org/bugzilla/>
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.