Skip to content

Use move semantics for function and block returns #542

Closed
@marijnh

Description

@marijnh

(Where block return is the thing that happens with semicolon-less last expressions.) Both guarantee that the returned value is no longer live after the return, so there doesn't seem to be a reason to copy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    I-slowIssue: Problems and improvements with respect to performance of generated code.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions