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

P2973 R0 Erroneous behaviour for missing return from assignment #1643

Open
wg21bot opened this issue Sep 18, 2023 · 3 comments
Open

P2973 R0 Erroneous behaviour for missing return from assignment #1643

wg21bot opened this issue Sep 18, 2023 · 3 comments
Labels
EWG Evolution needs-revision Paper needs changes before it can proceed SG12 Undefined Behavior SG23 Safety and Security

Comments

@wg21bot
Copy link
Collaborator

wg21bot commented Sep 18, 2023

P2973R0 Erroneous behaviour for missing return from assignment (Thomas Köppe, Jonathan Wakely)

@wg21bot wg21bot added CWG Core EWG Evolution SG12 Undefined Behavior SG23 Safety and Security labels Sep 18, 2023
@wg21bot wg21bot added this to the 2023-telecon milestone Sep 18, 2023
@jensmaurer
Copy link
Member

Depends on #1460 (P2795 Erroneous behaviour for uninitialized reads).

@jensmaurer jensmaurer removed the CWG Core label Sep 22, 2023
@jfbastien
Copy link
Collaborator

EWG reviewed this on Kona on Monday.

Poll: we encourage more work along the direction presented in P2973r0 “Erroneous behaviour for missing return from assignment”.

SF F N A SA
15 11 6 2 1

Consensus.

@jfbastien jfbastien added the needs-revision Paper needs changes before it can proceed label Nov 7, 2023
@rogerorr
Copy link
Collaborator

rogerorr commented Nov 9, 2023

SG23 polls taken 2023-11-08

POLL: We consider the issue in P2973 is an appropriate use of erroneous behaviour.

Strongly Favor Favor Neutral Against Strongly Against
7 7 4 3 0

Consensus in favor

MULTIWAY POLL: The issue in P2973 can be resolved by:

EB for op= op= return *this (not an error) Widening to all functions Ill-formed Terminate This is not a problem Do nothing
13 3 8 11 2 1 3

Sorted by votes:

  • 13 EB for op=
  • 11 Ill-formed
  • 8 Widening to all functions
  • 3 op= return *this (not an error)
  • 3 Do nothing
  • 2 Terminate
  • 1 This is not a problem

POLL: We should promise more committee time to pursuing this paper, knowing that our time is scarce and this will leave less time for other work.

Favor Neutral Against
17 1 5
Consensus in favor

@jensmaurer jensmaurer removed this from the 2023-telecon milestone Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EWG Evolution needs-revision Paper needs changes before it can proceed SG12 Undefined Behavior SG23 Safety and Security
Projects
None yet
Development

No branches or pull requests

4 participants