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

P3081 R0 Core safety Profiles: Specification, adoptability, and impact #2058

Open
wg21bot opened this issue Oct 17, 2024 · 5 comments
Open
Labels
EWG Evolution needs-revision Paper needs changes before it can proceed SG23 Safety and Security
Milestone

Comments

@wg21bot
Copy link
Collaborator

wg21bot commented Oct 17, 2024

P3081R0 Core safety Profiles: Specification, adoptability, and impact (Herb Sutter)

@wg21bot wg21bot added EWG Evolution SG15 Tooling SG23 Safety and Security labels Oct 17, 2024
@wg21bot wg21bot added this to the 2024-telecon milestone Oct 17, 2024
@jfbastien jfbastien removed the EWG Evolution label Oct 18, 2024
@jfbastien
Copy link
Collaborator

jfbastien commented Oct 18, 2024

SG15 and SG23: please consider and forward to EWG.

@Bigcheese
Copy link
Member

SG15 wants to pursue normatively requiring implementations to offer some specific “Fix” semantics as described in P3081R0, such as “when type_safety profile is enabled, a static_cast pointer downcast remains static_cast in the source code but is interpreted as-if the code had written dynamic_cast” — SG15 will separately describe how implementations could conform

SF F N A SA
3 5 2 0 0

SG15 wants to pursue normatively requiring implementations to offer some specific “Modernize” fixits (as a new form of diagnostic) as described in P3081R0, such as “when type_safety profile is enabled, for a static_cast pointer downcast offer a mechanical fixit to change the source code into a dynamic_cast” — SG15 will separately describe how implementations could conform

SF F N A SA
2 6 2 0 0

@Bigcheese Bigcheese removed the SG15 Tooling label Nov 20, 2024
@rogerorr
Copy link
Collaborator

P3081R0 was seen in SG23 on Thurs in Wroclaw

POLL: Apply the SG23 syntax decisions (Weds) in Wrocław and other SG23 direction to P3081R0, and forward P3081 to EWG as part of an initial set of Profiles targeting C++26.

Favor Neutral Against
23 1 0

@cor3ntin cor3ntin added the EWG Evolution label Nov 21, 2024
@jfbastien
Copy link
Collaborator

Seen in EWG on Friday:

Poll: P3081r0 Core safety Profiles, we are interested in pursuing profiles in the C++26 timeline, including aspects of the specification which potentially have language and library impact (i.e. despite the P1000 schedule).

SF F N A SA
25 19 4 2 1

Result: consensus in favor

EWG will perform telecons (@hanickadot) between now and the next meeting to discuss individual profile aspects.

@jfbastien jfbastien added the needs-revision Paper needs changes before it can proceed label Nov 22, 2024
@hanickadot
Copy link
Collaborator

EWG seen first section of paper's wording on 2024/12/11 telecon and took (non-binding, temperature in the room) following polls:


D3081R1: The profile attributes enforce and apply should be separated out from P3081 and done separately, leaving the initial version of profiles to just Implementation-Defined Translation-Unit level configuration.

SF F N A SA
6 10 10 1 1

Result: Consensus


D3081R1: The next revision of P3081 should explore, clarify, and justify the application of profile attributes on lexical vs declaration scoping.

SF F N A SA
11 10 2 0 0

Result: Consensus


D3081R1: EWG prefers that profile attributes include the profiles:: namespace.

SF F N A SA
1 3 12 7 3

Result: Not consensus

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 SG23 Safety and Security
Projects
None yet
Development

No branches or pull requests

7 participants