Skip to content

[intro.execution]/1 What does the "instance of object" mean? #995

Description

@BlowingWind314

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

[intro.execution]/1 says

An instance of each object with automatic storage duration is associated with each entry into its block. Such an object exists and retains its last-stored value during the execution of the block and while the block is suspended (by a call of a function, suspension of a coroutine, or receipt of a signal).

In my opinion, there is a new object to be created associated with each entry into the block, rather than an instance of the same object.

Activity

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

    needs-paperThis issue cannot be addressed in a core issue; it requires a paper instead.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions