阅读背景:

通过类成员函数访问静态const变量时出现问题

来源:互联网 

I am having a problem accessing a static const variable defined in my class private member variable section. Specifically, the code written below can output the variable within the constructor, but when I try to access it through an accessor function, I get an error discussed below. If anyone knows why I would appreciate your help.I am having a problem accessing a static const




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: