[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question about top
- To: Miki Shapiro <aris(at-nospam)pharoe.com>
- Subject: Re: Question about top
- From: mulix <mulix(at-nospam)actcom.co.il>
- Date: Fri, 3 Aug 2001 11:41:37 +0300 (IDT)
- Cc: Happy Linux Campers <linux-il(at-nospam)linux.org.il>
- Delivered-To: linux.org.il-linux-il@linux.org.il
- In-Reply-To: <Pine.LNX.4.21.0108021026121.7156-100000@pharoe.com>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
On Thu, 2 Aug 2001, Miki Shapiro wrote:
> I don't know how relevant this is, but I encountered another prob a few
> days back when doing delete [] pObject instead of delete pObject worked
> fine on Win32 but segfaulted on Linux. doesn't seem relevant but what the
> hell..
always, and i do mean always, use the correct form of delete. the
standard does not guarantee anything if you use the incorrect form - the
effect is implementation specific and *undefined*, even if your array
if of primitive types that do not have destructors defined (like
char[]).
we know what happens to people whose code relies on implementation
specific, undefined behaviour, don't we?
--
mulix
http://www.advogato.com/person/mulix
linux/reboot.h: #define LINUX_REBOOT_MAGIC1 0xfee1dead
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il