Skip to content

Don't use new, new[], delete or delete[]. #23

@shahzadlone

Description

@shahzadlone

Yes, this can be achieved!

Instead of new use make_unique or make_shared.

Since we are using smart pointers we will not need delete, or delete[].

This ties in with: #22

Metadata

Metadata

Assignees

No one assigned

    Labels

    C++11The second set of patchespatchIntended to be part of the patch series that makes up splinter

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions