In C++, how much programmer time is spent doing memory management
<p>People who are used to garbage collected languages are often scared of C++'s memory management. There are tools, like <code>auto_ptr</code> and <code>shared_ptr</code> which will handle many of the memory management tasks for you. Lots of C++ libraries predate those tools, and have their own way to handle the memory management tasks.</p>

<p><strong>How much time to you spend on memory management tasks?</strong></p>

<p>I suspect that it is highly dependent on the set of libraries you use, so please say which ones your answer applies to, and if they make it better or worse.</p>
