Article View: comp.std.c++
Article #2250Re: overloading global new and delete
From: Thomas Maeder
Date: Thu, 19 Oct 1995 10:16
Date: Thu, 19 Oct 1995 10:16
22 lines
1520 bytes
1520 bytes
> From: fjh@munta.cs.mu.OZ.AU (Fergus Henderson) > Newsgroups: comp.std.c++ > Date: 14 Oct 1995 15:57:24 GMT > Organization: Computer Science, University of Melbourne, Australia > > avm@zilker.net (Alfredo V. Mendoza) writes: > > >IBM compiler development claims that when one uses their runtime > >classes, it will always use the IBM runtime new and delete regardless > >of an overloaded global new and delete. > > I imagine that one reason they do that is precisely to avoid the > problem of infinite recursion described above. Couldn't this problem be solved using a guard which prevents writing to cout in recursive calls of operator new()? Thomas --- [ comp.std.c++ is moderated. Submission address: std-c++@ncar.ucar.edu. Contact address: std-c++-request@ncar.ucar.edu. The moderation policy is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Technical Details
Message-ID:
<9510190958.AA09979@eniac.glue.ch>Path:
arc1-ca.pugleaf.net!in1.uu.net!bounce-backReferences:
<45js9r$iuq@hackberry.zilker.net> <9528716.7351@mulga.cs.mu.OZ.AU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!in1.uu.net!bounce-back Date: 19 Oct 95 10:16:53 GMT Approved: fjh@cs.mu.oz.au Organization: - Newsgroups: comp.std.c++ X-Original-Date: Thu, 19 Oct 1995 10:58:37 +0100 From: maeder@glue.CH (Thomas Maeder) Message-ID: <9510190958.AA09979@eniac.glue.ch> In-Reply-To: fjh@munta.cs.mu.OZ.AU's message of 14 Oct 1995 15:57:24 GMT Subject: Re: overloading global new and delete References: <45js9r$iuq@hackberry.zilker.net> <9528716.7351@mulga.cs.mu.OZ.AU> X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBFAgUBMIYlxuEDnX0m9pzZAQGwPQF+NcTH48mB3i/uNRMSADeecqUZSfy/gwV/ zVcJ+9HiwsK8CO5fnkkSoACH8Y2cRQyJ =Spyu