Date: Wed, 29 Nov 2023 12:13:48 +0100
Il 29/11/23 11:46, Breno GuimarĂ£es via Std-Proposals ha scritto:
> I don't think that's UB. Not calling the destructor is not UB.
I was referring to the memset. But indeed I can't seem to find a
provision that you can't just overwrite bytes of an arbitrary object
using it. Interesting pub quiz question...
Thanks,
> I don't think that's UB. Not calling the destructor is not UB.
I was referring to the memset. But indeed I can't seem to find a
provision that you can't just overwrite bytes of an arbitrary object
using it. Interesting pub quiz question...
Thanks,
-- Giuseppe D'Angelo
Received on 2023-11-29 11:13:51