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

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Andrew Downing from comment #5)
> Also, I'm not sure if operations that implicitly create
> objects in storage are allowed to do so if an object has already explicitly
> created in that storage (from new).

The lifetime of the object created with new ends as soon as the storage is
reused for another object. But I'm not sure if copying new bytes to it does
reuse the storage or not.

Reply via email to