Closed elfring closed 4 years ago
Would you like to wrap any pointer data members with the class template “std::unique_ptr”?
Raw pointer is a frugal way if you can control its lifecycle.
I suggest to achieve safe resource management.
Would you like to wrap any pointer data members with the class template “std::unique_ptr”?