new.h

来自「NTL is a high-performance, portable C++ 」· C头文件 代码 · 共 25 行

H
25
字号

#ifndef NTL_new__H
#define NTL_new__H

#include <NTL/config.h>

#if (defined(NTL_STD_CXX) || defined(NTL_PSTD_NTN))

// We use <new> and std::nothrow, even if neither NTL_STD_CXX nor  
// NTL_PSTD_NHF are set.  This appears to be somewhat more compatible
// with current compilers.

#include <new>

#define NTL_NEW_OP new (std::nothrow)


#else

#define NTL_NEW_OP new

#endif

#endif

⌨️ 快捷键说明

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