Skip to content

P3474 R0 std::arguments #2128

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

Open
wg21bot opened this issue Oct 17, 2024 · 4 comments
Open

P3474 R0 std::arguments #2128

wg21bot opened this issue Oct 17, 2024 · 4 comments
Labels
B3 - addition Bucket 3 as described by P0592: material that is not mentioned in P0592 EWGI Evolution Incubator IS Ship vehicle: IS LEWGI Library Evolution Incubator needs-revision Paper needs changes before it can proceed SG16 Text processing
Milestone

Comments

@wg21bot
Copy link
Collaborator

wg21bot commented Oct 17, 2024

P3474R0 std::arguments (Jeremy Rifkin)

@wg21bot wg21bot added EWGI Evolution Incubator LEWGI Library Evolution Incubator labels Oct 17, 2024
@wg21bot wg21bot added this to the 2024-telecon milestone Oct 17, 2024
@inbal2l inbal2l added IS Ship vehicle: IS B3 - addition Bucket 3 as described by P0592: material that is not mentioned in P0592 C++26 Targeted at C++26 labels Oct 22, 2024
@erichkeane
Copy link
Collaborator

EWGI will see this after LEWGI/LEWG has had something to say here.

@hanickadot hanickadot added EWG Evolution and removed EWG Evolution labels Nov 3, 2024
@jensmaurer jensmaurer modified the milestones: 2024-telecon, 2025-telecon Dec 18, 2024
@cor3ntin cor3ntin removed the C++26 Targeted at C++26 label Jan 14, 2025
@vitaut
Copy link

vitaut commented Jan 15, 2025

Needs an sg16 tag too since the paper is talking about encodings.

@erichkeane erichkeane added the SG16 Text processing label Jan 15, 2025
@billy-baker
Copy link
Collaborator

Zoom call on January 21, 2025

No polls.

There is still support for a bag-of-bytes as was polled previously for P1275.

Next step: SG16 Text review and updates before additional SG18 LEWGI review.

@tahonermann
Copy link
Collaborator

SG16 reviewed a draft of what will be P3474R1 during the 2025-04-09 SG16 meeting. No polls were taken, but lots of good feedback was provided to the author. Concerns discussed include:

  • Imposing transcoding requirements on new interfaces without first providing a transcoding
    facility that specifies how transcoding errors are to be handled. It should be possible to write
    wording for such functions that specifies transcoding using "as-if by ...". New proposal
    authors shouldn't have to determine and specify themselves how transcoding concerns are
    handled.
  • The need for access to program arguments in raw form (char or wchar_t-based), in the
    execution encoding (char-based), in the wide execution encoding (wchar_t-based), in
    UTF-8 (char8_t-based), and in UTF-16 (char16_t-based as might be useful for ICU). If use
    cases for all of these exist, then UTF-32 (char32_t-based) is the only encoding left out for
    which there is a builtin character type.
  • Which encodings should be supported via convenience functions.
  • Distinction of the environment encoding (as identified by std::text_encoding::environment())
    and the execution encoding (locale dependent).
  • Implementation concerns relating access to program arguments before main() is invoked;
    such access is not readily available for some operating systems.
  • How to avoid imposing program startup costs.
  • What effect mutation of program arguments provided to main() has on access to program
    arguments via std::arguments().

I'm retaining the SG16 label to review again once a new revision is published.

@tahonermann tahonermann added the needs-revision Paper needs changes before it can proceed label Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B3 - addition Bucket 3 as described by P0592: material that is not mentioned in P0592 EWGI Evolution Incubator IS Ship vehicle: IS LEWGI Library Evolution Incubator needs-revision Paper needs changes before it can proceed SG16 Text processing
Projects
None yet
Development

No branches or pull requests

9 participants