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

P1967 R14 #embed - a simple, scannable preprocessor-based resource acquisition method #700

Closed
wg21bot opened this issue Dec 11, 2019 · 31 comments · Fixed by cplusplus/draft#7704
Labels
C++26 Targeted at C++26 CWG Core IS Ship vehicle: IS plenary-approved Papers approved for inclusion in their target vehicle by plenary vote. straw-poll Straw poll
Milestone

Comments

@wg21bot
Copy link
Collaborator

wg21bot commented Dec 11, 2019

P1967R0 #embed - a simple, scannable preprocessor-based resource acquisition method (JeanHeyd Meneide)

@wg21bot wg21bot added the EWG Evolution label Dec 11, 2019
@wg21bot wg21bot added this to the 2020-02 milestone Dec 11, 2019
@wg21bot
Copy link
Collaborator Author

wg21bot commented Jan 18, 2020

P1967R1 #embed - a simple, scannable preprocessor-based resource acquisition method (JeanHeyd Meneide)

@wg21bot
Copy link
Collaborator Author

wg21bot commented Mar 24, 2020

P1967R2 #embed - a simple, scannable preprocessor-based resource acquisition method (JeanHeyd Meneide)

@wg21bot wg21bot modified the milestones: 2020-02, 2020-telecon Mar 24, 2020
@jfbastien
Copy link
Collaborator

Also see #28

@jfbastien
Copy link
Collaborator

Discussed in today's EWG telecon.

Polls:

We want #embed [optional limit] header-name (no type name, no other specification) as a feature.

SF F N A SA
2 16 3 0 1

We want to explore allowing an optional sequence of tokens to specify a type to #embed.

SF F N A SA
1 9 4 4 3

@jfbastien jfbastien added the needs-revision Paper needs changes before it can proceed label Sep 2, 2020
@jensmaurer jensmaurer removed this from the 2020-telecon milestone Dec 27, 2020
@AaronBallman AaronBallman added the SG22 C / C++ liaison label Feb 12, 2021
@wg21bot
Copy link
Collaborator Author

wg21bot commented Apr 25, 2021

P1967R3 #embed - a simple, scannable preprocessor-based resource acquisition method (JeanHeyd Meneide)

@wg21bot wg21bot removed the needs-revision Paper needs changes before it can proceed label Apr 25, 2021
@wg21bot wg21bot added this to the 2021-telecon milestone Apr 25, 2021
@wg21bot
Copy link
Collaborator Author

wg21bot commented Jun 26, 2021

P1967R4 #embed - a simple, scannable preprocessor-based resource acquisition method (JeanHeyd Meneide)

@jensmaurer jensmaurer modified the milestones: 2021-telecon, 2022-telecon Jan 1, 2022
@AaronBallman
Copy link
Collaborator

This paper has progressed within WG14 and WG21 and no longer needs SG22 involvement unless the author desires it, so removing the label.

@AaronBallman AaronBallman removed the SG22 C / C++ liaison label Feb 27, 2022
@wg21bot
Copy link
Collaborator Author

wg21bot commented Apr 25, 2022

P1967R5 #embed - a simple, scannable preprocessor-based resource acquisition method (JeanHeyd Meneide)

@wg21bot
Copy link
Collaborator Author

wg21bot commented May 24, 2022

P1967R6 #embed - a simple, scannable preprocessor-based resource acquisition method (JeanHeyd Meneide)

@erichkeane
Copy link
Collaborator

D1967(To be R7) was discussed during the EWG 6/23/2022 Telecon, and the following poll was taken:

EWG encourages P1967 to define the form of vendor extensions as parameters to #embed?

SF F N A SA
4 4 3 1 0

Result: Consensus

Author expected to return with a revisioned paper based on the feedback received during this meeting.

@wg21bot
Copy link
Collaborator Author

wg21bot commented Jun 24, 2022

P1967R7 #embed - a simple, scannable preprocessor-based resource acquisition method (JeanHeyd Meneide)

@wg21bot
Copy link
Collaborator Author

wg21bot commented Jul 21, 2022

P1967R8 #embed - a simple, scannable preprocessor-based resource acquisition method (JeanHeyd Meneide)

@wg21bot
Copy link
Collaborator Author

wg21bot commented Oct 17, 2022

P1967R9 #embed - a simple, scannable preprocessor-based resource acquisition method (JeanHeyd Meneide)

@erichkeane
Copy link
Collaborator

erichkeane commented Nov 9, 2022

Forward P1967R9, with both 'optional' sections included to CWG for inclusion in C++26. This is as WG14 accepted.

SF F N A SA
7 5 2 2 2

Result: Stronger Consensus

Forward P1967R9, including section 7.3.6 (__has_embed with return value 2), but not 7.3.7 (prefix/suffix/if_empty) to CWG for inclusion in C++26. This diverges from what was accepted by WG14.

SF F N A SA
6 6 4 3 2

Result: Weaker Consensus

The former poll has greater consensus, so EWG is forwarding P1967R9 and both optional sections.

@erichkeane erichkeane added CWG Core C++26 Targeted at C++26 and removed EWG Evolution labels Nov 9, 2022
@jensmaurer jensmaurer added this to CWG Jul 15, 2024
@jensmaurer jensmaurer moved this to Ready for review in CWG Jul 15, 2024
@jensmaurer jensmaurer added the needs-revision Paper needs changes before it can proceed label Oct 31, 2024
@jensmaurer
Copy link
Member

Author reports additional updates to the paper are necessary.

@wg21bot
Copy link
Collaborator Author

wg21bot commented Dec 18, 2024

P1967R13 #embed - a simple, scannable preprocessor-based resource acquisition method (JeanHeyd Meneide)

@wg21bot wg21bot removed the needs-revision Paper needs changes before it can proceed label Dec 18, 2024
@wg21bot wg21bot modified the milestones: 2024-telecon, 2025-telecon Dec 18, 2024
@wg21bot wg21bot changed the title P1967 R12 #embed - a simple, scannable preprocessor-based resource acquisition method P1967 R13 #embed - a simple, scannable preprocessor-based resource acquisition method Dec 18, 2024
@jensmaurer jensmaurer moved this from Awaiting updated wording to Ready for review in CWG Dec 18, 2024
@jensmaurer jensmaurer added the IS Ship vehicle: IS label Jan 16, 2025
@jensmaurer jensmaurer added the needs-revision Paper needs changes before it can proceed label Feb 13, 2025
@jensmaurer
Copy link
Member

CWG 2025-02-13 in Hagenberg: Reviewed P1967R13; needs updates.

@jensmaurer jensmaurer removed the needs-revision Paper needs changes before it can proceed label Feb 14, 2025
@jensmaurer
Copy link
Member

CWG 2025-02-14 in Hagenberg: Reviewed D1967R14; needs updates.

Sending back to EWG to approve the design change that parameter names are always macro-expanded, not just in the third syntax case of #embed (improves consistency, too).

@jensmaurer jensmaurer added EWG Evolution and removed CWG Core labels Feb 14, 2025
@jensmaurer jensmaurer moved this from Ready for review to Waiting for subgroups in CWG Feb 14, 2025
@Bekenn
Copy link
Collaborator

Bekenn commented Feb 14, 2025

EWG 2025-02-14 in Hagenberg: Confirmed updates

D1967R14: #embed - a scannable, tooling-friendly binary resource inclusion mechanism
Confirm change and return to CWG for C++26

SF F N A SA
21 24 2 0 0

Consensus

@Bekenn Bekenn added CWG Core and removed EWG Evolution labels Feb 14, 2025
@jensmaurer jensmaurer moved this from Waiting for subgroups to Ready for review in CWG Feb 14, 2025
@jensmaurer jensmaurer added the straw-poll Straw poll label Feb 14, 2025
@jensmaurer
Copy link
Member

CWG 2025-02-14 in Hagenberg: Approved D1967R14 for plenary straw polls on Saturday.

@jensmaurer jensmaurer moved this from Ready for review to Approved for plenary vote in CWG Feb 14, 2025
@cor3ntin cor3ntin added the plenary-approved Papers approved for inclusion in their target vehicle by plenary vote. label Feb 15, 2025
@wg21bot
Copy link
Collaborator Author

wg21bot commented Mar 19, 2025

P1967R14 #embed - a simple, scannable preprocessor-based resource acquisition method (JeanHeyd Meneide)

@wg21bot wg21bot changed the title P1967 R13 #embed - a simple, scannable preprocessor-based resource acquisition method P1967 R14 #embed - a simple, scannable preprocessor-based resource acquisition method Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++26 Targeted at C++26 CWG Core IS Ship vehicle: IS plenary-approved Papers approved for inclusion in their target vehicle by plenary vote. straw-poll Straw poll
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

8 participants