nomemory.cpp
来自「C标准库源代码,能提高对C的理解,不错的哦」· C++ 代码 · 共 19 行
CPP
19 行
// 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.
*/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?