new_afn.cpp

来自「MMI层OBJ不能完全编译」· C++ 代码 · 共 17 行

CPP
17
字号
/*****************************************************************************/
/* new_afn     v2.54                                                         */
/* Copyright (c) 1996-2004 Texas Instruments Incorporated                    */
/*****************************************************************************/
#include <new>

/****************************************************************************/
/*                                                                          */
/* OPERATOR NEW[]() - NO EXCEPTION VERSION OF THE DEFAULT GLOBAL ALLOCATION */
/*                    FUNCTION FOR ARRAYS.                                  */
/*                                                                          */
/****************************************************************************/
void *operator new[](std::size_t size, const std::nothrow_t& nt_arg) //throw()
{
   return operator new(size, nt_arg);
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?