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

[expected.object.assign] Missing Returns element #5712

Closed
JohelEGP opened this issue Aug 5, 2022 · 2 comments · Fixed by #5802
Closed

[expected.object.assign] Missing Returns element #5712

JohelEGP opened this issue Aug 5, 2022 · 2 comments · Fixed by #5802
Assignees

Comments

@JohelEGP
Copy link
Contributor

JohelEGP commented Aug 5, 2022

The first 2 operators at expected.object.assign are missing Returns: *this.

@frederick-vs-ja
Copy link
Contributor

Almost all assignment operators in the standard library return *this. Is it worthwhile to specify this once instead of repeating everywhere?

@jwakely
Copy link
Member

jwakely commented Sep 3, 2022

Almost all assignment operators in the standard library return *this. Is it worthwhile to specify this once instead of repeating everywhere?

Yes, we've suggested this in LWG. I'll open a new issue and assign it to myself.

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.

4 participants