tpcc-runner
tpcc-runner copied to clipboard
[ALL] Construction of allocated memory
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))