This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 119a. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.
2026-01-25
(From submission #837.)
Defaulted comparison operators should also be immediate-escalating.
Suggested resolution:
Change in 7.7 [expr.const] bullet 25.2 as follows:
An immediate-escalating function is...
- the call operator of a lambda that is not declared with the consteval specifier,
- a defaulted
special memberfunction that is not declared with the consteval specifier, or- a function that is not a prospective destructor and that results from the instantiation of a templated entity defined with the constexpr specifier.