In the C++ code we should replace the calls to new with a make_unique/make_shared as appropriate.
Best practice when limited to C++11 revolves around putting in a trivial make_unique implementation, and removing all other calls to new.
Best practice when limited to C++11 revolves around putting in a trivial make_unique implementation, and removing all other calls to new.