[Bug libstdc++/64399] g++ does not diagnose when upcasting owning pointer (e.g. unique_ptr) with non-virtual destructor

thiago at kde dot org gcc-bugzilla@gcc.gnu.org
Wed Dec 24 01:37:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64399

Thiago Macieira <thiago at kde dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thiago at kde dot org

--- Comment #3 from Thiago Macieira <thiago at kde dot org> ---
Because it's not a bug.

This is a totally valid scenario.



More information about the Gcc-bugs mailing list