windows-nt/Source/XPSP1/NT/base/crts/crtw32/stdcpp64/nomemory.cpp

19 lines
344 B
C++
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
// 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.
*/