Skip to content

compiler switch to disable the new and delete keywords #1

@janwilmans

Description

@janwilmans

of course you sometimes need new and delete, sometimes for manual memory management or when implementing libraries.

For all other cases std::make_unique should be the default and sometimes make_shared is ok if you know its going to be shared anyway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions