开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜