// // new_array.cpp // // Copyright (c) Microsoft Corporation. All rights reserved. // // Defines the array operator new. // #include #include //////////////////////////////////// // new() Fallback Ordering // // +----------+ // |new_scalar<---------------+ // +----^-----+ | // | | // +----+-------------+ +----+----+ // |new_scalar_nothrow| |new_array| // +------------------+ +----^----+ // | // +------------+----+ // |new_array_nothrow| // +-----------------+ _NODISCARD _Ret_notnull_ _Post_writable_byte_size_(size) _VCRT_ALLOCATOR void* __CRTDECL operator new[](size_t const size) { return operator new(size); }