MSDN上介绍的new这个操作符的疑问
MSDN上的原话
If the request is for zero bytes of storage, operator new returns a pointer to a distinct object (that is, repeated calls to operator new return different pointers)
下面的中文部分是我对这上面的这段英文的翻译,意思应该时没翻译错
如果请求是零字节的存储空间,new操作符返回一个指向独特对象的指针(换句话说,重复调用new操作符会返回不同的指针)
这也是MSDN上的另外的一段原话,意思和上面的差不多
All but the leftmost array dimensions must be constant expressions that evaluate to positive values; the leftmost array dimension can be any expression that evaluates to a positive value. When allocating an array using the new operator, the first dimension can be zero — the new operator returns a unique pointer.
那这个特别对象是个什么对象,有多大的字节?还是就是零字节?是返回NULL了?