https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64399
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- It might be valid with a custom deleter, but the example shown has undefined behaviour.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64399
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- It might be valid with a custom deleter, but the example shown has undefined behaviour.