Full name of submitter (unless configured in github; will be published with the issue):
Reference (section label): [expr.const]
Link to reflector thread (if any):
Issue description:
25.2 includes in the category of immediate-escalating functions "a defaulted special member function that is not declared with the consteval specifier". This omits defaulted comparison operators, which presumably should also be immediate-escalating, and all the implementations seem to agree (https://godbolt.org/z/dG5sxbacP).
Suggested resolution:
Remove "special member" so that any defaulted function is included.
Full name of submitter (unless configured in github; will be published with the issue):
Reference (section label): [expr.const]
Link to reflector thread (if any):
Issue description:
25.2 includes in the category of immediate-escalating functions "a defaulted special member function that is not declared with the consteval specifier". This omits defaulted comparison operators, which presumably should also be immediate-escalating, and all the implementations seem to agree (https://godbolt.org/z/dG5sxbacP).
Suggested resolution:
Remove "special member" so that any defaulted function is included.