This constant value is used as an argument for and to indicate that these functions shall not throw an exception on failure, but return a null pointer instead.
int * p = new (std::nothrow) int; int *p = new(std::nothrow)int[10]
本文共 281 字,大约阅读时间需要 1 分钟。
This constant value is used as an argument for and to indicate that these functions shall not throw an exception on failure, but return a null pointer instead.
int * p = new (std::nothrow) int; int *p = new(std::nothrow)int[10]
转载于:https://www.cnblogs.com/mingzhang/p/11296307.html