This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/46134] constexpr vs. defaulted ctor
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 2 Nov 2010 09:48:31 +0000
- Subject: [Bug c++/46134] constexpr vs. defaulted ctor
- Auto-submitted: auto-generated
- References: <bug-46134-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46134
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> 2010-11-02 09:48:13 UTC ---
the adjusted static assertion in unique_ptr is wrong, it will now reject any
pointer deleters - it should only assert when no initializer is given for a
deleter of pointer (or reference) type