[Bug libstdc++/58876] No non-virtual-dtor warning in std::unique_ptr

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Dec 24 09:01:00 GMT 2014


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.



More information about the Gcc-bugs mailing list