delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/30/14:30:21

From: Charles Terry <cterry AT plinet DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: bad_alloc exception
Date: Sun, 29 Mar 1998 10:26:42 -0800
Organization: All USENET -- http://www.Supernews.com
Lines: 13
Message-ID: <351E9261.2DDF@plinet.com>
References: <351DC2A4 DOT 263D31BC AT umich DOT edu>
NNTP-Posting-Host: 24214 AT 207 DOT 174 DOT 3 DOT 190
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Michael Krause wrote:
> 
> Is there anyway to get the new operator to throw a bad_alloc exception
> instead of just returning zero?
> 
> Mike Krause
> mhkrause AT umich DOT edu
yes but you will have to download the source code and
modify the new function and recompile.

Charles


- Raw text -


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