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 Error C2468

'new' : cannot allocate 'const'/'volatile' objects (type is 'type')

The new operator is incorrectly used to create a const or volatile object.

Example

void main(void)
{
   new int * const;       // error
   new int * volatile;    // error
}