comp.lang.ada
 help / color / mirror / Atom feed
* Unchecked_Deallocation vs. delete
@ 2007-05-09 16:27 Maciej Sobczak
  2007-05-09 17:02 ` Dmitry A. Kazakov
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Maciej Sobczak @ 2007-05-09 16:27 UTC (permalink / raw)


What's the benefit of Unchecked_Deallocation as a generic library
procedure vs. built-in deallocation operator like delete in C++?

The disadvantage, as far as I perceive it, is that it breaks the
symmetry that should be expected with regard to the allocation
operation. If "new" is built-in, then the deallocation should be built-
in as well. Making it a generic library procedure just makes more work
for the programmers for no clear reason.

What clear reason am I missing?

--
Maciej Sobczak
http://www.msobczak.com/




^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2007-05-16 19:25 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-09 16:27 Unchecked_Deallocation vs. delete Maciej Sobczak
2007-05-09 17:02 ` Dmitry A. Kazakov
2007-05-09 20:56   ` Robert A Duff
2007-05-09 20:59   ` Keith Thompson
2007-05-10 20:09   ` Maciej Sobczak
2007-05-11  7:35     ` Dmitry A. Kazakov
2007-05-11  8:15       ` Maciej Sobczak
2007-05-11 16:39         ` Dmitry A. Kazakov
2007-05-16 19:25         ` Randy Brukardt
2007-05-10 21:10   ` Markus E Leypold
2007-05-09 17:51 ` Martin Krischik
2007-05-09 20:54 ` Robert A Duff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox