Skip to content

Follow-on to P2314R4: properly define encoding restrictions #4924

Open

Description

@jensmaurer

After P2314R4 Character sets and encodings was merged:

https://wiki.edg.com/bin/view/Wg21telecons2021/PaperReviewIssuesTeleconference2021-09-21

Define a term for the encoding restrictions in lex.charset and use that term in the library section to restrict execution character sets / encodings.

Activity

  1. added this to the C++23 milestone on Sep 21, 2021
  2. self-assigned this
    on Nov 9, 2021
  3. modified the milestones: C++23, C++26 on Oct 23, 2023
  4. AlisdairM commented on Oct 25, 2025

    @AlisdairM
    Contributor

    Note that those restrictions apply to literal encodings as well as the library encodings.

    It would be useful to introduce a named term, apply it to literal encodings in [lex.charset], and move the similar restriction on execution character sets to [character.seq.general].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions