From 779268853936522557
X-Google-Thread: f78e5,a10702d4a7db0a94
X-Google-Attributes: gidf78e5,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns14feed!worldnet.att.net!207.14.113.39!news.alt.net!comp-std-cpp-robomod!not-for-mail
From: "Lucas Galfaso" <lgalfaso@gmail.com>
Newsgroups: comp.std.c++
Subject: Re: Why no size_t to ::operator delete?
Date: Sat, 23 Dec 2006 08:58:40 CST
Organization: http://groups.google.com
Lines: 25
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
Message-ID: <1166881269.632200.107290@48g2000cwx.googlegroups.com>
References: <12omt8jit7rl379@corp.supernews.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Trace: posting.google.com 1166881276 755 127.0.0.1 (23 Dec 2006 13:41:16 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sat, 23 Dec 2006 13:41:16 +0000 (UTC)
Return-Path: <devnull@stump.algebra.com>
X-Authentication-Warning: mulga.csse.unimelb.edu.au: fjh set sender to devnull@stump.algebra.com using -f
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
X-Original-To: std-c++@mailman.ucar.edu
Delivered-To: std-c++@mailman.ucar.edu
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1,gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: 48g2000cwx.googlegroups.com; posting-host=24.232.7.150;
   posting-account=EiBFIA0AAABUIo4gheGArqTD1NeHjn3L
X-Virus-Scanned: amavisd-new at ucar.edu
X-Virus-Scanned: amavisd-new at csse.unimelb.edu.au
X-Virus-Scanned: amavisd-new at csse.unimelb.edu.au
Xref: g2news2.google.com comp.std.c++:5142

Scott Meyers wrote:
> Can someone explain to me why having the "normal" operator delete take a
> size_t is impractical?
>

The answer is simple, there is nowhere to store this information, if
you need it, you store it. This is just another example of C++ of not
to make everybody pays for what just a few need.

Regards,
  Lucas

> Thanks,
> 
> Scott
> 
> 
       ]

---
[ 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.comeaucomputing.com/csc/faq.html                      ]



