janos95·2 年前·議論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.