[Bug c++/98840] Why does baz call the delete operator for moved unique_ptr

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 26 17:50:05 GMT 2021


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

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The ABI requires it. The caller is responsible for constructing and destroying
the argument.


More information about the Gcc-bugs mailing list