Skip to content

CWG2698 Using extended integer types with z suffix #1467

Description

@jensmaurer

It appears the approved wording allows using extended integer types for integer literals with a "z" suffix. The author of the paper introducing the feature claims that was not intended, yet the paper introducing the feature seems silent on the issue.

CWG seeks approval of EWG for restricting z and Z suffixes to std::size_t and its corresponding signed integer type.

See CWG2698 for details.

Activity

  1. added this to the 2023-telecon milestone on Feb 18, 2023
  2. erichkeane commented on May 11, 2023

    @erichkeane
    Collaborator

    EWG discussed this during the May 11th, 2023 telecon, and the following poll was taken:

    For CWG2698, EWG accepts the CWG proposed resolution, which clarifies that the 'z'/'zu' suffix means "the signed type corresponding to size_t"/size_t only.

    SF F N A SA
    6 8 0 0 0

    Result: Consensus

    Sufficient guidance was given to unblock CWG, so assigning back to CWG.

  3. added and removed
    EWGEvolution
    on May 11, 2023
  4. added
    plenary-approvedPapers approved for inclusion in their target vehicle by plenary vote.
    and removed on Jun 17, 2023
  5. deleted a comment from on Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CWGCoreplenary-approvedPapers approved for inclusion in their target vehicle by plenary vote.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions