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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[func.require] Use math font for non-code conditions #6073

Merged
merged 1 commit into from Feb 9, 2023

Conversation

jwakely
Copy link
Member

@jwakely jwakely commented Feb 8, 2023

N is not a C++ entity, it refers to the N suffix of tN, and the equality is mathematical not a C++ operator.

If this was an actual C++ expression using a variable N we would need to say "N == 1 is true" and that would be much worse 馃槄

N is not a C++ entity, it refers to the N suffix of tN, and the equality
is mathematical not a C++ operator.
@jwakely
Copy link
Member Author

jwakely commented Feb 8, 2023

image

@tkoeppe
Copy link
Contributor

tkoeppe commented Feb 8, 2023

Looks reasonable, thanks :-)

@jwakely
Copy link
Member Author

jwakely commented Feb 8, 2023

This was suggested as a drive-by fix while reviewing LWG 3655 but I said I'd do it this way instead.

Copy link
Contributor

@CaseyCarter CaseyCarter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huge improvement now that we don't use both \tcode{N} and $N$ to mean the same thing.

@tkoeppe tkoeppe merged commit 7d0d915 into cplusplus:main Feb 9, 2023
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

Successfully merging this pull request may close these issues.

None yet

3 participants