Skip to content

Disallow copy-constructor for scoped_allocation #59

@nsubtil

Description

@nsubtil

I've seen code written where functions return a scoped_allocation that was defined inside the function itself. This is obviously dangerous and can never work.

We should investigate whether there's some way of disallowing this without removing the ability to do implicit conversion to allocation or pointer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions