https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119259
Patrick Palka <ppalka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu.org,
| |ppalka at gcc dot gnu.org
--- Comment #8 from Patrick Palka <ppalka at gcc dot gnu.org> ---
IIUC for defaulted operator<=> that's declared constexpr, GCC deliberately
synthesizes its definition eagerly -- as soon as the class is complete rather
than upon its first actual use -- to see if the definition actually qualifies
as constexpr, and to (presumably) reject a non-constexpr definition.
But I'm not sure that's right anymore P2448R2 "Relaxing some constexpr
restrictions" removed the constexpr-compatible wording
(https://wg21.link/p2448r2#pnum_1)?