home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
vc98
/
crt
/
src
/
nomemory.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
1998-06-16
|
362b
|
19 lines
// nomemory -- report out of memory
#include <new>
_STD_BEGIN
void _CRTIMP2 __cdecl _Nomemory()
{ // report out of memory
static const bad_alloc nomem;
_RAISE(nomem);
}
const nothrow_t nothrow;
_STD_END
/*
* Copyright (c) 1994 by P.J. Plauger. ALL RIGHTS RESERVED.
* Consult your license regarding permissions and restrictions.
*/