Skip to content

Support scope extrusion #272

Description

@pgiarrusso-sl

Not supported in main, might be supported in #270.
Example at https://eel.is/c++draft/class.temporary#example-4

struct S {
  const int& m;
};
const S& s = S{1};              // both S and int temporaries have lifetime of s         

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