Date: Sun, 22 May 2022 21:18:13 -0700
On Sunday, 22 May 2022 21:12:52 PDT Edward Catmur wrote:
> > If the mechanism is opt-out per type, then libc++ will opt out
> > std::unique_ptr in the standard Library headers
>
> Why would they opt-out?
>
> To preserve (function argument passing) ABI.
That of course means the standard can't mandate that the operator be present
or it must allow the observable behaviour of using move+destroy instead of
relocating on the implementation's choice.
> > If the mechanism is opt-out per type, then libc++ will opt out
> > std::unique_ptr in the standard Library headers
>
> Why would they opt-out?
>
> To preserve (function argument passing) ABI.
That of course means the standard can't mandate that the operator be present
or it must allow the observable behaviour of using move+destroy instead of
relocating on the implementation's choice.
-- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel DPG Cloud Engineering
Received on 2022-05-23 04:18:16