Re: delete POD array - on which platforms does it not work?
Martin T. wrote:
>
Yes, 100% sure.
>
>
This is question is quite valid. Indeed it becomes more valid with
answers such as this.
There are so many morons who are 100% sure that it's safe to pour
lighter fluid into a burning barbecue fire -- /although/ they've been
told otherwise. "Sissies", they say. They do it dozens of times, and
nothing bad happens. Then they'll do it once more and get a third-degree
burn, and some bystanders too.
I just don't get into the mindset of these people.
Martin T. wrote:
>Are you sure these don't mess up anything in VC8?
Yes, 100% sure.
>
>Anyway this question is braindead. You use delete[]
>for arrays and never free() with operator new.
>for arrays and never free() with operator new.
This is question is quite valid. Indeed it becomes more valid with
answers such as this.
lighter fluid into a burning barbecue fire -- /although/ they've been
told otherwise. "Sissies", they say. They do it dozens of times, and
nothing bad happens. Then they'll do it once more and get a third-degree
burn, and some bystanders too.
I just don't get into the mindset of these people.
Comment