阅读背景:

我应该如何订购c++类的成员?

来源:互联网 

Is it better to have all the private members, then all the protected ones, then all the public ones? Or the reverse? Or should there be multiple private, protected and public labels so that the operations can be kept separate from the constructors and so on? What issues should I take into account when making this decision?Is it better to have all the private members, t




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

分享到: