Skip to content

[re.regiter.general] Move const into \tcode #7878

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

Merged
merged 1 commit into from
May 16, 2025

Conversation

Andreas-Krug
Copy link
Contributor

No description provided.

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.

The change is correct, but this wording is generally in need of improvements.

@@ -12238,8 +12238,8 @@
constructs an end-of-sequence iterator object,
which is the only legitimate iterator to be used for the end
Copy link
Member

Choose a reason for hiding this comment

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

This is somewhat misleading since we added comparison with default_sentinel_t although that's not actually an iterator so it's technically true, just misleading.

@@ -12238,8 +12238,8 @@
constructs an end-of-sequence iterator object,
which is the only legitimate iterator to be used for the end
condition. The result of \tcode{operator*} on an end-of-sequence iterator is not
Copy link
Member

Choose a reason for hiding this comment

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

Most of this prose is just repeating general iterator requirements (you can't dereference the end iterator, dereferencing it returns the iterator's reference type etc).

@jensmaurer jensmaurer merged commit 0e18e46 into cplusplus:main May 16, 2025
0 of 2 checks passed
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.

3 participants