Re: [PATCH] libstdc++: Make all experimental::observer_ptr functions constexpr

2025-07-15 Thread Tomasz Kaminski
On Mon, Jul 14, 2025 at 2:00 PM Jonathan Wakely wrote: > I've just created LWG 4295 proposing this change, and am implementing it > via this patch. > > libstdc++-v3/ChangeLog: > > * include/experimental/memory (swap, make_observer_ptr): Add > constexpr. > (operator==, oper

[PATCH] libstdc++: Make all experimental::observer_ptr functions constexpr

2025-07-14 Thread Jonathan Wakely
I've just created LWG 4295 proposing this change, and am implementing it via this patch. libstdc++-v3/ChangeLog: * include/experimental/memory (swap, make_observer_ptr): Add constexpr. (operator==, operator!=, operator<, operator>, operator<=) (operator>=): Likewis