Do you have that problem?
6 Ways to Refactor new/delete into unique ptr
by Bartlomiej Filipek
From the article:
In legacy code, you can often spot explicit new and delete lurking in various places and waiting to produce pointer-related issues. This blog post shows six patterns to improve that erroneous style and rely on modern techniques, especially unique_ptr and other helper standard types...
Add a Comment
Comments are closed.