Skip to content

The realloc usage maybe dangerous. #4

Description

@007havegone
          using the realloc which assume that the type is a trival/literal class, which using the default copy constructor and does not need to realse the memory in desctructor and copy assignment operator. Otherwise, this operation is unsafe.

Originally posted by @007havegone in #1 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions