https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119714
Patrick Palka <ppalka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org Status|UNCONFIRMED |ASSIGNED See Also|https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=120056 | Target Milestone|--- |15.2 Ever confirmed|0 |1 CC| |ppalka at gcc dot gnu.org Last reconfirmed| |2025-05-05 Summary|Failure when using == |[15/16 Regression] Failure |operator on a class derived |when using == operator on a |from std::expected |class derived from | |std::expected --- Comment #4 from Patrick Palka <ppalka at gcc dot gnu.org> --- >From PR120056: (In reply to Patrick Palka from comment #2) > Confirmed, started with r15-4337-g0515b2436b7c7e "libstdc++: Constrain > std::expected comparisons (P3379R0)" but most likely just another unintended > consequence of CWG 2369 (as with PR112490/basic_const_iterator's constrained > friends).