Person(const string name,const string phone):Name(name),M_Phone(phone)
Person的构造函数中,第二个参数是Phone,但是你test函数中,实例化的时候,第二个参数用的string类型,类型不匹配test函数中,修改如下:
Person p("张三",Phone("华为"));
Person p("张三",Phone("华为"))这样行吗