Skip to content

[range.adaptors] Replace "In that case" with "If declared"#8534

Open
eisenwave wants to merge 1 commit intocplusplus:mainfrom
eisenwave:clarify-in-that-case
Open

[range.adaptors] Replace "In that case" with "If declared"#8534
eisenwave wants to merge 1 commit intocplusplus:mainfrom
eisenwave:clarify-in-that-case

Conversation

@eisenwave
Copy link
Member

Fixes #5224.

@eisenwave eisenwave added the P3-Other Triaged issue not in P1 or P2 label Nov 16, 2025
@jwakely
Copy link
Member

jwakely commented Nov 16, 2025

"If defined, [it] is defined a follows" is a bit repetitive.

An alternative would be "X is not defined if V does not model C; otherwise it is defined as follows". I don't really like the double negative in that though.

@eisenwave
Copy link
Member Author

What about

If these conditions are satisfied

The point of the fix is to disambiguate between whether "In that case" refers to only one of the conditions in the preceding sentence, or to all of them combined. If we refer to them in plural, that also works.

Copy link
Member

@jwakely jwakely left a comment

Choose a reason for hiding this comment

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

I don't love the phrasing, but it's an improvement.

@tkoeppe
Copy link
Contributor

tkoeppe commented Dec 15, 2025

Needs some linebreaking/overfull-hbox fixes I think.

@eisenwave eisenwave force-pushed the clarify-in-that-case branch 2 times, most recently from 46964b6 to e5d8272 Compare February 25, 2026 17:24
@eisenwave eisenwave requested a review from tkoeppe February 25, 2026 17:24
@eisenwave
Copy link
Member Author

Just needed a soft hyphen; please check again.

@eisenwave eisenwave force-pushed the clarify-in-that-case branch from 50176e1 to 680f448 Compare February 26, 2026 10:06
@eisenwave eisenwave changed the title [range.adaptors] Replace "In that case" with "If defined" [range.adaptors] Replace "In that case" with "If declared" Feb 26, 2026
@eisenwave eisenwave requested a review from jensmaurer February 26, 2026 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3-Other Triaged issue not in P1 or P2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

P2441 Fix "In that case"

4 participants