Skip to content

[exec.snd.expos] Fix markup of exposition-only identifiers in basic-state constructor #7304

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
Oct 15, 2024

Conversation

lewissbaker
Copy link
Contributor

@lewissbaker lewissbaker commented Oct 15, 2024

The initialization of the exposition-only recv and state
data-members in the basic-state constructor should have marked-up
the member identifiers using \exposid.

Also, the recv argument passed to get-state was supposed to be
referring to the exposition-only data-member rather than the parameter
of the same name as otherwise it would be referring to a moved-from
object.
So markup the recv argument to get-state using \exposid as well
to make this (slightly) clearer.

Copy link
Member

@jensmaurer jensmaurer left a comment

Choose a reason for hiding this comment

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

Using two variables in scope that have the same name except for italics feels unfortunate. But oh well.

Could you please annotate "state" with \exposid in the mem-initializer-list as well?

…state` constructor

The initialization of the exposition-only `recv` and `state`
data-members in the `basic-state` constructor should have marked-up
the member identifiers using \exposid.

Also, the `recv` argument passed to `get-state` was supposed to be
referring to the exposition-only data-member rather than the parameter
of the same name as otherwise it would be referring to a moved-from
object.
So markup the `recv` argument to `get-state` using \exposid as well
to make this (slightly) clearer.
@lewissbaker lewissbaker changed the title [exec.snd.expos] Fix markup of exposition-only recv identifier in basic-state constructor [exec.snd.expos] Fix markup of exposition-only identifiers in basic-state constructor Oct 15, 2024
@jensmaurer jensmaurer merged commit 555f3c3 into cplusplus:main Oct 15, 2024
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.

2 participants