Quote& operator =(const Quote& rhs)
{
if (*this != rhs)
{
bookNo = rhs.bookNo;
price = rhs.price;
}
std::cout << "Quote:copy =()" << endl;
return *this;
}
啥情况
请求各位帮忙!
Quote& operator =(const Quote& rhs)
{
if (*this != rhs)
{
bookNo = rhs.bookNo;
price = rhs.price;
}
std::cout << "Quote:copy =()" << endl;
return *this;
}