Item 50: Understand When It Makes Sense to Replace new and delete

Probably never - it’s very hard to write a conformant and performant memory allocator (for just the tip of the iceberg, a conformant allocator must return aligned memory addresses).

Creative Commons License
This blog by Che-Liang Chiou is licensed under a Creative Commons Attribution 4.0 International License.