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 C2334

"unexpected token(s) preceding ': or {'; skipping apparent function body"

This error occurs after another error, for member functions defined inside their class.

Example

struct s1 {             // in a cpp file
   s1(s1 func hello) {  // error
   }
};