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 C2279

cannot use braces to initialize default arguments

For more information on resolving this error, see C2059.

Example

struct Point
{
   int x, y;
};
int f( Point p = { 1, 2 } );  // error C2279