阅读背景:

返回成员变量的引用是不好的做法?

来源:互联网 

The below is said to be better then having first/second as public members. I believe this is nearly as bad. If you're giving a way to access a private variable outside of the class then whats the point? Shouldn't the functions beThe below is said to be better then having firs




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

分享到: