Skip to content

"single-element of an array" model #4797

@xmh0511

Description

@xmh0511

[basic.compound] p3

an object of type T that is not an array element is considered to belong to an array with one element of type T.

Does it mean this rule also applies to any subobject that is not an array element? It does not make sense, I also think it's not the intent of the rule. The free room to construe this rule could result in #3614.

Could we rephrase it to that?

a complete object of type T is considered to be the initial element of an array with one element of type T.

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