Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

12.5 [over.built] 11, 12 #6798

Open
sim9108 opened this issue Feb 7, 2024 · 1 comment
Open

12.5 [over.built] 11, 12 #6798

sim9108 opened this issue Feb 7, 2024 · 1 comment

Comments

@sim9108
Copy link

sim9108 commented Feb 7, 2024

11: For every integral type T ---> For promoted integral type T,

12:
For every pair of floating-point types L and R , there exists a candidate operator function of the form
std::partial_ordering operator<=>(L , R )

--->

For every pair of floating-point types T, there exists a candidate operator function of the form
std::partial_ordering operator<=>(T , T )

@sim9108 sim9108 changed the title 12.5 [over.built] line 11 12.5 [over.built] 11, 12 Feb 7, 2024
@jensmaurer
Copy link
Member

p11: Why would this change be editorial? It appears to make a normative difference.

p12: The existing wording says that there are heterogenous comparisons, e.g. between float and double. The suggested change would mean there are only homogenous comparisons.

The difference might be detectable with user-defined conversions from class types, I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants