[mythtv] delete vs delete[] in dvbrecorder destructor

J. Donavan Stanley jdonavan at jdonavan.net
Sun Feb 27 19:46:03 UTC 2005


aczmail at cox.net wrote:

>It does matter.
>delete deletes an element
>delete[] deletes an array of elements.
>  
>

In theory yes, as a general rule no.  Most compilers I've worked with 
treat them both the same.


More information about the mythtv-dev mailing list