Skip to content

CWG2755 [expr.const] P2738R1 applied bad wording #349

Closed
cplusplus/draft
#6684

Description

@jensmaurer

Full name of submitter (unless configured in github; will be published with the issue): Jens Maurer

Reference (section label): expr.const

Link to reflector thread (if any):

Issue description:

P2738R1 constexpr cast from void*: towards constexpr type-erasure

The wording is wrong; "T" is a pointer type, thus requiring that "P" points to an object of type similar to T is mixing pointer levels. We should be talking about "pointer to T" instead.

Suggested resolution:

Activity

  1. changed the title [-][section.label] Proposed issue title[/-] [+][expr.const] P2738R1 applied bad wording[/+] on Jun 28, 2023
  2. changed the title [-][expr.const] P2738R1 applied bad wording[/-] [+]CWG2755 [expr.const] P2738R1 applied bad wording[/+] on Jun 30, 2023
  3. jensmaurer commented on Jun 30, 2023

    @jensmaurer
    MemberAuthor
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions