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

Reply via email to