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 C2612

trailing ',' illegal in base/member initializer list

A comma appears after the last base or member in an initializer list.

Example

class A
{
public:
   int i;
   A( int ia ) : i( ia ), {}; // error, extra comma
};
class B
{
public:
   int i;
   B( int ib ) : i( ib ) {};  // OK
};