initial list与assignment

当类中含有const、reference成员变量,基类的构造函数需要使用初始化表。

posted @ 2016-08-29 10:50  绿水白川  阅读(173)  评论(0编辑  收藏  举报