摘要:
1.赋值不一定是初始化。例如AClassName::AClassName(const std::string &name, const std::string &address, const std::list &phones){ theName = name; //这些都是赋值 theAddress = address; //而非初始化 thePhones = phones; numTimesConsulted = 0;}AClassName::AClassName(const std::string &name, const st... 阅读全文