NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Warning (level 2) C4156

deletion of an array expression without using the array form of 'delete'; array form substituted

The non-array form of delete cannot delete an array. The compiler translated delete to the array form.

This warning occurs only under Microsoft extensions (/Ze).

Example

T (*array)[ 10 ] = new T[ 5 ][ 10 ];
delete array;     // warning, changed by compiler to "delete [] array;"