On 21 Aug 2000, Lars Gullik Bjønnes wrote:
> John Levon <[EMAIL PROTECTED]> writes:
>
> | On 21 Aug 2000, Lars Gullik Bjønnes wrote:
> |
> | > No.
> | >
> |
> | That's what I thought. I asked just to make sure I wasn't going to
> | embarrass myself C++-wise.
> |
> | Anyway, my point being, this isn't portable. Not all OS's ensure that the
> | BSS (or equivalent) is zeroed out on load. So it would be better IMHO not
> | to rely on such a feature.
>
> It should be portable, it is required by the language...
> So actually we _should_ rely on this. IMO this is the same box as
> deleting a null pointer is a no-op. So we dont ned if (ptr) delete ptr;
>
> Lgb
>
Lars sorry for the confusion then. I didn't know this was actually part of
the standard.
thanks
john
--
"Mathemeticians stand on each other's shoulders while computer scientists
stand on each other's toes."
- Richard Hamming