Skip to content

[ALL] Construction of allocated memory #17

@rotaki

Description

@rotaki

https://github.com/wattlebirdaz/tpcc-runner/blob/4730c4c1476349dcada8f5f985764b86971d432e/protocols/nowait/include/nowait.hpp#L101-L105

For safety reasons, use the constructor for initializing allocated memory. (Object* obj = new (mem_addr) Object (args))

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions