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

P2025 Guaranteed copy elision for named return objects #756

Open
wg21bot opened this issue Jan 18, 2020 · 7 comments
Open

P2025 Guaranteed copy elision for named return objects #756

wg21bot opened this issue Jan 18, 2020 · 7 comments

Comments

@wg21bot
Copy link
Collaborator

@wg21bot wg21bot commented Jan 18, 2020

P2025R0 Guaranteed copy elision for named return objects (Anton Zhilin)

@wg21bot wg21bot added the EWGI label Jan 18, 2020
@wg21bot wg21bot added this to the 2020-02 milestone Jan 18, 2020
@theres-waldo theres-waldo added this to Wednesday PM in EWG-I Prague Feb 7, 2020
@theres-waldo theres-waldo moved this from Wednesday PM to Tuesday PM in EWG-I Prague Feb 9, 2020
@theres-waldo theres-waldo added EWG and removed EWGI labels Feb 12, 2020
@theres-waldo
Copy link
Collaborator

@theres-waldo theres-waldo commented Feb 12, 2020

EWG-I in Prague

Poll: Forward P2025R0 to EWG as presented?

SF F N A SA
3 2 2 0 0

Consensus

Next steps for paper: Take it to EWG.

@jfbastien jfbastien added this to Friday in EWG Prague Feb 13, 2020
@jfbastien
Copy link
Collaborator

@jfbastien jfbastien commented Feb 14, 2020

EWG Prague on Friday afternoon:

Mark this paper as tentatively ready to forward to Core.

SF F N A SA
3 8 5 3 0

@jfbastien
Copy link
Collaborator

@jfbastien jfbastien commented Mar 4, 2020

Comments were received on this paper, we'll re-discuss in EWG.

@jensmaurer jensmaurer removed this from the 2020-02 milestone Apr 23, 2020
@jensmaurer jensmaurer added this to the 2020-telecon milestone Apr 23, 2020
@jensmaurer jensmaurer added this to Ready for review in CWG Apr 24, 2020
@wg21bot
Copy link
Collaborator Author

@wg21bot wg21bot commented Jun 17, 2020

P2025R1 Guaranteed copy elision for return variables (Anton Zhilin)

@erichkeane
Copy link
Collaborator

@erichkeane erichkeane commented Jul 16, 2020

EWG discussed this in the 7/16 telecon, polls are as follows:

This paper should explore an explicit syntax to opt-into this functionality:

SF F N A SA
6 10 3 1 2

Conclusion: This paper needs to explore an explicit opt-in syntax and return to EWG.

This paper should explore a syntax that annotates a return/call for the purposes of diagnostics:

SF F N A SA
3 5 6 4 0

Conclusion: EWG was not convinced that an annotation for a return/call to guide diagnostics was necessary to return to EWG.

Another paper should explore a syntax that annotates a return/call for the purposes of diagnostics:

SF F N A SA
0 7 10 1 0

Conclusion: Weak consensus (note the high Neutral count) that we would like to see a paper on this topic in the future.

@jensmaurer jensmaurer removed this from the 2020-telecon milestone Nov 5, 2020
@jensmaurer jensmaurer removed this from Ready for review in CWG Feb 2, 2021
@wg21bot
Copy link
Collaborator Author

@wg21bot wg21bot commented Mar 25, 2021

P2025R2 Guaranteed copy elision for return variables (Anton Zhilin)

@wg21bot wg21bot added this to the 2021-telecon milestone Mar 25, 2021
@jfbastien
Copy link
Collaborator

@jfbastien jfbastien commented May 20, 2021

D2025r3 was seen in today's EWG telecon.

We are interested in pursuing work on guaranteed copy elision for named return objects.

SF F N A SA
8 12 2 0 0

Send D2025r3 as-is to EWG electronic polling, with the intent of forwarding it to Core for C++23.

SF F N A SA
0 0 0 8 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants