Compiler Error C2673
TOC
Collapse the table of content
Expand the table of content

Compiler Error C2673

 

'function' : global functions do not have 'this' pointers

A global function tried to access this.

The following sample generates C2673:

// C2673.cpp
int main() {
   this = 0;   // C2673
}
Show:
© 2016 Microsoft