This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/58876] No non-virtual-dtor warning in std::unique_ptr
- 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: Wed, 24 Dec 2014 09:00:54 +0000
- Subject: [Bug libstdc++/58876] No non-virtual-dtor warning in std::unique_ptr
- Auto-submitted: auto-generated
- References: <bug-58876-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Matthew Woehlke from comment #5)
> Actually, this may be required for 'make_unique<A>(new B)' to warn, since
That's not how make_unique works.