[mythtv] delete vs delete[] in dvbrecorder destructor

Joseph A. Caputo jcaputo1 at comcast.net
Tue Feb 22 15:52:18 UTC 2005


On Tuesday 22 February 2005 7:22, Tj wrote:
> Lastly, what's the policy of using smart pointers like std::auto_ptr 
> and  
> STL like map, etc in Myth?

Don't know about auto_ptr, but for STL collection classes (map, list, 
etc) I'd vote for using the Qt classes instead: QMap, QValueList<>, 
QPtrList<>, etc.

-JAC


More information about the mythtv-dev mailing list