Until someone changes their mind in an uncoming compiler revision, or someone replaces the default allocator with a more efficient/special case one.. Then it's a fun one to track down - trust me. ;)

----- Original Message ----- From: "J. Donavan Stanley" <[EMAIL PROTECTED]>
To: "Development of mythtv" <[email protected]>
Sent: Monday, February 28, 2005 6:46 AM
Subject: Re: [mythtv] delete vs delete[] in dvbrecorder destructor



[EMAIL PROTECTED] 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.
_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

_______________________________________________ mythtv-dev mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to