From -3958630615841840312
X-Google-Thread: f78e5,47a305df4f679812
X-Google-Attributes: gidf78e5,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: g2news2.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.speakeasy.net!news.speakeasy.net.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 10 Aug 2006 00:20:05 -0500
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
From: kuyper@wizard.net
Newsgroups: comp.std.c++
Subject: Re: The C++ Standard Doesn't Permit Overloading new and delete?
Organization: http://groups.google.com
Message-ID: <1155177271.185695.86890@i3g2000cwc.googlegroups.com>
References: <1155108112.209646.246880@75g2000cwc.googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Complaints-To: groups-abuse@google.com
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.13) Gecko/20060418 Fedora/1.0.8-1.1.fc4 Firefox/1.0.8,gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: i3g2000cwc.googlegroups.com; posting-host=66.234.255.45;
   posting-account=bPBxkgwAAABzUwlEAMy-xGlLqZFJ5Jz_
X-Greylisting: NO DELAY (Relay+Sender autoqualified);
	processed by UCSD_GL-v2.1 on mailbox8.ucsd.edu;
	Wed, 09 August 2006 19:34:44 -0700 (PDT)
X-Spamscanner: mailbox8.ucsd.edu  (v1.6 Aug  4 2005 15:27:38, -2.6/5.0 3.0.4)
X-MailScanner: PASSED (v1.2.8 94527 k7A2YhOY095640 mailbox8.ucsd.edu)
X-Virus-Scanned: amavisd-new at ucar.edu
X-Virus-Scanned: amavisd-new at csse.unimelb.edu.au
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
X-Virus-Scanned: amavisd-new at csse.unimelb.edu.au
Date: Thu, 10 Aug 2006 00:13:16 CST
Lines: 18
NNTP-Posting-Host: 65.182.171.162
X-Trace: sv3-5FnV069fR1MlHNSTE/gmxLg5LtVVycUOJp6p0AwtjkDuZT2UhdakBN8bZvmVltJ38SkG3STKw75UjZ/!2CtB812Fnk6OLOwrVg6KJHo5jELbUUd+/2yALRQIUSnxvXFtbL4kgZNNnosLnpQKjInMHSVTjMx9!N113F2Kz3p+t2XhLBvTHNa/JTzKGZhLjlCzs4Dh2
X-Complaints-To: abuse@speakeasy.net
X-DMCA-Complaints-To: abuse@speakeasy.net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.32
Xref: g2news2.google.com comp.std.c++:3231

Lighter wrote:
> The C++ Standard Doesn't Permit Overloading new and delete?
>
> In the 13.5 of The C++ standard (ISO/IEC 14882, 1998), I cannot find
> the specification on overloading the operators new and delete; however,
> many C++ books including "C++ Primer" say that the operators new and
> delete can be overloaded. I wonder if this has a definitive
> specification? Who can tell me?

Take a look at 13.5p5, and follow up on the cross-reference it makes to
3.7.3.

---
[ 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                      ]



