3 ms·
A lot of C++ big names have said that smart pointers are better than garbage collection for handling resources. And they are, because GC only handles memory. H
by blub 9y ago
A lot of C++ big names have said that smart pointers are better than garbage collection for handling resources. And they are, because GC only handles memory.
Having memory leaks in modern C++ is a sign of not keeping up with the established idioms. Saying that experienced C++ programmers are worried about memory leaks is bizarre.