3 ms·
The main point of replacing it with malloc is that new will throw std::bal_alloc so using it requires linking against the c++ runtime.
by janos95 2y ago
The main point of replacing it with malloc is that new will throw std::bal_alloc so using it requires linking against the c++ runtime.
- pjmlp 2y agoOnly if not using nothrow placement new syntax.