Comment on Modern C++ – RAIIparentComments−green7eaOP1yAuthor here, that's a good approach :-). I see shared_ptr as a code smell since shared ownership makes life difficult.
Comments
Author here, that's a good approach :-). I see shared_ptr as a code smell since shared ownership makes life difficult.