delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/30/08:45:23

Message-Id: <m0yJeod-000S3IC@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
Organization: INTI
To: Michael Krause <mhkrause AT umich DOT edu>, djgpp AT delorie DOT com
Date: Mon, 30 Mar 1998 10:45:11 +0000
MIME-Version: 1.0
Subject: Re: bad_alloc exception
In-reply-to: <351DC2A4.263D31BC@umich.edu>

Michael Krause <mhkrause AT umich DOT edu> wrote:

> Is there anyway to get the new operator to throw a bad_alloc exception
> instead of just returning zero?

Don't know, but you can redefine new!

SET 
------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019