| delorie.com/archives/browse.cgi | search |
| From: | d DOT vrabel AT n-shropshire DOT ac DOT uk (David Vrabel) |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | What does new do when memory is exhausted? |
| Date: | Wed, 13 May 1998 08:02:52 GMT |
| Organization: | Staffordshire University |
| Lines: | 12 |
| Message-ID: | <35594e81.4169631@192.168.1.250> |
| NNTP-Posting-Host: | www.n-shropshire.ac.uk |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
The ANSI C++ standard states that new should throw an exception when out of memory. Is this the case with GCC 2.8.1? If so what exception is it? Is it bad_alloc? David. David Vrabel d DOT vrabel AT n-shropshire DOT ac DOT uk A poor student (aren't they all) at: North Shropshire College Oswestry, Shropshire, UK
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |