Skip to content

CWG2854 [basic.stc.general] Storage duration of exception objects #492

@frederick-vs-ja

Description

@frederick-vs-ja

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

Reference (section label): [basic.stc.general], [except.throw]

Link to reflector thread (if any):

Issue description:

The recently approved resolution of CWG2533 makes the storage durations of temporary objects fall into static, thread, and automatic storage durations, which should partially resolve CWG1634.

However, exception objects are also categorized as temporary objects ([except.throw] p3), and the duration of their storage doesn't actually follow the convention of static, thread, automatic, or dynamic storage duration. Perhaps exception objects deserve their own storage class.

Suggested resolution:

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