Open wg21bot opened 4 years ago
P1967R1 #embed - a simple, scannable preprocessor-based resource acquisition method (JeanHeyd Meneide)
P1967R2 #embed - a simple, scannable preprocessor-based resource acquisition method (JeanHeyd Meneide)
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 |
P1967R3 #embed - a simple, scannable preprocessor-based resource acquisition method (JeanHeyd Meneide)
P1967R4 #embed - a simple, scannable preprocessor-based resource acquisition method (JeanHeyd Meneide)
This paper has progressed within WG14 and WG21 and no longer needs SG22 involvement unless the author desires it, so removing the label.
P1967R5 #embed - a simple, scannable preprocessor-based resource acquisition method (JeanHeyd Meneide)
P1967R6 #embed - a simple, scannable preprocessor-based resource acquisition method (JeanHeyd Meneide)
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.
P1967R7 #embed - a simple, scannable preprocessor-based resource acquisition method (JeanHeyd Meneide)
P1967R8 #embed - a simple, scannable preprocessor-based resource acquisition method (JeanHeyd Meneide)
P1967R9 #embed - a simple, scannable preprocessor-based resource acquisition method (JeanHeyd Meneide)
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.
The author intends to add preprocessor constants __STDC_EMBED_NOT_FOUND__
, __STDC_EMBED_FOUND__
, and __STDC_EMBED_EMPTY__
. Back to EWG for approval of that change.
P1967R10 #embed - a simple, scannable preprocessor-based resource acquisition method (JeanHeyd Meneide)
This was discussed during the Feb 6, 2023 Morning Session in Issaquah, and the following polls were taken:
P1967 should include the macro'ed textual versions of has-embed-expressions results, as proposed (and as accepted by WG14). | SF | F | N | A | SA |
---|---|---|---|---|---|
20 | 12 | 2 | 1 | 0 |
Result: Consensus
P1967 should remove embed-standard-parameter 'prefix', 'suffix', and/or 'if_empty', if WG14 also chooses to do so, for the purposes of C compatibility of this feature. | SF | F | N | A | SA |
---|---|---|---|---|---|
7 | 17 | 6 | 0 | 3 |
Result: Consensus
Forward P1967R10 (as modified by the above polls/WG14) to CWG. | SF | F | N | A | SA |
---|---|---|---|---|---|
Result: Unanimous Consent
CWG 2023-02-08: Reviewed; needs updates.
P1967R11 #embed - a simple, scannable preprocessor-based resource acquisition method (JeanHeyd Meneide)
CWG 2023-11-06: Reviewed; needs updates.
CWG 2023-11-09: Reviewed; needs updates.
P1967R12 #embed - a simple, scannable preprocessor-based resource acquisition method (JeanHeyd Meneide, )
I'm waiting for it, since 2002, and I really suffer every time that I need it and completely don't understand why that very simple feature doesn't include in C++ before.
This issue tracker is for administrative handling of papers by WG21 officers and chairs. If you have specific concerns about a paper, please address the paper author directly.
Author reports additional updates to the paper are necessary.
P1967R0 #embed - a simple, scannable preprocessor-based resource acquisition method (JeanHeyd Meneide)