From C to C++98 to “Modern C++”, memory management ‘best practice’ has been one of the most changeable things in this family of languages. C’s basic memalloc and free functions for allocating and releasing heap memory were replaced with C++’s more sophisticated new and delete keywords, which, in turn, are being supplanted by the so-called […]