Skip to content

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