windows-nt/Source/XPSP1/NT/base/crts/crtw32/stdcpp64/nomemory.cpp
2020-09-26 16:20:57 +08:00

19 lines
344 B
C++

// 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.
*/