Skip to content

[dcl.fct] Overbroad grammar for parameter-declaration CWG2537 #4521

@opensdh

Description

@opensdh

It should have a defining-type-specifier-seq instead of a decl-specifier-seq, since no other decl-specifier (a storage-class-specifier, a function-specifier, friend, typedef, constexpr, consteval, constinit, or inline) can be used there (unless we expect to get constexpr function parameters any day now!).

Metadata

Metadata

Assignees

No one assigned

    Labels

    cwgIssue must be reviewed by CWG.not-editorialIssue is not deemed editorial; the editorial issue is kept open for tracking.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions