'function' : static member functions do not have 'this' pointers
A static member function tried to access this.
Example
struct S { static S* const func() { return this; } // error };