|
|
|
|
|
by eplawless
5964 days ago
|
|
I disagree as fervently as possible; always use reference counting smart pointers. It is substantially harder to guarantee exception safety if you don't make use of them. You'll also be able to program more quickly without devoting extra mental cycles to make sure everything is cleaned up properly. Using valgrind IN ADDITION is a good idea, but there is no reason to avoid smart pointer memory management. |
|