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 C2435

'identifier' : function called before default arguments were resolved

The function is declared or defined with default arguments, but called before the default arguments are defined.

Example

class C
{
public:
   void a(void)
   {
      b();                   // error caught here
   }
   void b(void* ptr = sp);   // move this line above the definition
   static void *sp;          // a() to avoid error
};