Re: [PATCH] libstdc++: Implement C++26 std::polymorphic [PR119152]

2025-06-04 Thread Patrick Palka
On Tue, May 27, 2025 at 8:37 AM Tomasz Kamiński wrote: > > From: Jonathan Wakely > > This patch implements C++26 std::polymorphic as specified in P3019 with > amendment to move assignment from LWG 4251. > > The implementation always allocate stored object on the heap. The manager > function (_M_m

Re: [PATCH] libstdc++: Implement C++26 std::polymorphic [PR119152]

2025-06-02 Thread Jonathan Wakely
On Tue, 27 May 2025 at 13:36, Tomasz Kamiński wrote: > > From: Jonathan Wakely > > This patch implements C++26 std::polymorphic as specified in P3019 with > amendment to move assignment from LWG 4251. > > The implementation always allocate stored object on the heap. The manager > function (_M_man

[PATCH] libstdc++: Implement C++26 std::polymorphic [PR119152]

2025-05-27 Thread Tomasz Kamiński
From: Jonathan Wakely This patch implements C++26 std::polymorphic as specified in P3019 with amendment to move assignment from LWG 4251. The implementation always allocate stored object on the heap. The manager function (_M_manager) is similary keep with the object (polymorphic::_Obj), which re