Getter does not return stored value, but its variable does

后端 未结 0 1828
野的像风
野的像风 2020-12-21 23:30

I am facing a strange issue. I have a class variable:

std::string _element;

And its setter and getter:

void setElement(std::st         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题