"Dave" <be***********@yahoo.com> wrote in message
news:vp************@news.supernews.com...
[...]
What is an example of a circumstance where it would be
useful to overload the form of operator delete with the
second parameter (of type size_t)?
i.e.:
void operator delete(void *ptr, size_t size);
If you were keeping lists of blocks ordered by size. This
could speed up finding the block to be deleted.
Dave
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (
http://www.grisoft.com).
Version: 6.0.521 / Virus Database: 319 - Release Date: 9/23/2003