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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wording for how "a contained value is initialized" could be simplified #5038

Closed
tkoeppe opened this issue Oct 19, 2021 · 2 comments · Fixed by #5042
Closed

Wording for how "a contained value is initialized" could be simplified #5038

tkoeppe opened this issue Oct 19, 2021 · 2 comments · Fixed by #5042

Comments

@tkoeppe
Copy link
Contributor

tkoeppe commented Oct 19, 2021

From P078R8:

This is the wording from the paper, but "whose contained value is direct-non-list-initialized with invoke(std::forward<F>(f), value())" would be clearer. LWG made a similar clarification to the expected paper recently. Similarly applies to lines 3512-3514.

Originally posted by @CaseyCarter in #5014 (comment)

If there is a simpler expression, we should apply it to all the optional wording.

@jwakely
Copy link
Member

jwakely commented Oct 21, 2021

If there is a simpler expression, we should apply it to all the optional wording.

Yes, that's the plan.

@tkoeppe
Copy link
Contributor Author

tkoeppe commented Oct 21, 2021

Done -- thanks, @timsong-cpp!

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 a pull request may close this issue.

2 participants