From 8048103025649796683
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,2847ea2daacb5072
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 2004-04-17 13:58:32 PST
Path: archiver1.google.com!news1.google.com!news.glorb.com!newsrout1.ntli.net!news.ntli.net!kibo.news.demon.net!mutlu.news.demon.net!demon!mail2news.demon.co.uk!devnull
From: ivr@guesswh.at.emails.ru ("Ioannis Vranos")
Newsgroups: comp.std.c++
Subject: Re: Proposal: free() and delete/delete[] compatibility
Date: Sat, 17 Apr 2004 20:58:31 +0000 (UTC)
Organization: National Technical University of Athens, Greece
Lines: 33
Approved: fjh@cs.mu.oz.au (Fergus Henderson , moderator of comp.std.c++)
Message-ID: <c5s2ff$7oc$1@ulysses.noc.ntua.gr>
References: <c5pk7v$so3$1@ulysses.noc.ntua.gr> <c5pv1d$1jrr$1@ulysses.noc.ntua.gr> <56918018qlgi7pium562mel08eeoh9vjeb@4ax.com>
Mime-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Trace: mail2news.demon.co.uk 1082235511 17555 10.0.0.1 (17 Apr 2004 20:58:31 GMT)
X-Complaints-To: abuse@demon.net
NNTP-Posting-Date: Sat, 17 Apr 2004 20:58:31 +0000 (UTC)
X-Received: from mulga.cs.mu.oz.au ([128.250.1.22])
	by news.demon.co.uk with esmtp (Exim 4.12)
	id 1BEwtS-0004Z0-00
	for mail2news@news.news.demon.net; Sat, 17 Apr 2004 20:58:30 +0000
X-Received: from mulga.cs.mu.OZ.AU (localhost [127.0.0.1]) by mulga.cs.mu.OZ.AU with ESMTP
	id i3HKwRi2012673; Sun, 18 Apr 2004 06:58:28 +1000 (EST)
X-Received: (from fjh@localhost)
	by mulga.cs.mu.OZ.AU (8.12.10+Sun/8.12.9/Submit) id i3HKwQkt012658;
	Sun, 18 Apr 2004 06:58:26 +1000 (EST)
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
X-Path: comp-std-cpp-robomod!not-for-mail
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
X-Delivered-To: std-c++@ucar.edu
X-Newsgroups: comp.std.c++
X-NNTP-Posting-Date: Sat, 17 Apr 2004 20:01:51 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
X-Spam-Checker-Version: SpamAssassin 2.60-mulga_r1 (1.212-2003-09-23-exp) on 
	mulga.cs.mu.OZ.AU
X-Spam-Status: No, hits=0.7 required=5.2 tests=PRIORITY_NO_NAME autolearn=no 
	version=2.60-mulga_r1
Xref: archiver1.google.com comp.std.c++:1731

"Jack Klein" <jackklein@spamcop.net> wrote in message
news:56918018qlgi7pium562mel08eeoh9vjeb@4ax.com...
>
> > The proposal corrected:
> >
> > Proposal: A guarantee in the standard that if you call delete/delete[]
on
> > objects created by
> > malloc()/calloc()/realloc() is safe.
>
> What is the purpose of making a proposal without supplying any reason
> why you think it is needed?  What benefit would programmers derive
> from the effort of the standards committee and compiler and library
> implementers to make this change?


Yes you are right. It is just more language coherence. And if someone just
moved to C++ and wants to use his old libraries allocating things with
malloc()/calloc()/realloc() to be able to use delete in his new environment.






Ioannis Vranos

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]



