Skip to content

[dcl.init] Explicitly define "initializer expression" #2934

Open
@sdkrystian

Description

@sdkrystian

In the current wording, [dcl.init] often refers to an "initializer expression" without clearly defining what that would be. In most initialization contexts, an initialization expression does not exist, and only exists when using the parenthized expression-list form of an initializer with a single expression, or the = form of a brace-or-equals-initializer. While with much effort it can be deduced from the wording (with knowledge of expected behavior), it should be explicitly defined to increase readability.

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