C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Replace an object -- but retain old object if new object fails to construct

From: Giuseppe D'Angelo <giuseppe.dangelo_at_[hidden]>
Date: Wed, 29 Oct 2025 13:53:19 +0100
Il 29/10/25 13:41, Frederick Virchanza Gotham via Std-Proposals ha scritto:
> On Wednesday, October 29, 2025, Giuseppe D'Angelo wrote:
>
>
> Test what? What is there to prove or disprove?
>
>
>
> To show programs crashing (or not crashing) on arm64e when a polymorphic
> object is trivially relocated and then has one of its virtual methods
> invoked.
>

Why would they crash? This again has been extensively discussed; the
Standard says that you can trivially relocate trivially relocatable
polymorphic types, and people working on the arm64e ABI have confirmed
that this is perfectly acceptable and implementable.

--
Giuseppe D'Angelo

Received on 2025-10-29 12:53:23