Error Message 'class::function' : illegal call of non-static member function
i was trying to call a static function of class using scope resolution operator, the way to access static function but still generating error. what are the possibiliti开发者_如何学运维es.
The error message says it all: you are calling a non-static member function thinking it as static.
The obvious possibility is that your function is not static, as the error message clearly says. There are no meaningful way to guess at any other possibilities with the information you provided.
精彩评论