Skip to content

add an intrinsic for calling a type's destructor #6239

@thestinger

Description

@thestinger

This would be useful for generic smart pointer types implemented in libraries, to avoid a swap in the destructor.

Alternatively, just allow finalize to be called in unsafe blocks.

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