In most cases, unique_ptr should be used instead of shared_ptr, according to the google style guide https://google.github.io/styleguide/cppguide.html .
In most cases, unique_ptr should be used instead of shared_ptr, according to the google style guide https://google.github.io/styleguide/cppguide.html .