Failure to use the :: operator prefixed with the name of the base class may cause infinite recursion, because the derived-class member function would then call itself.

 
  • 因为要继承基本类别,在衍生类别的实作中,要引入基本类别的标头档因为继承类别,故其成员变数只需宣告额外新增的部分。
今日热词
目录 附录 查词历史