C++运算符重载

https://blog.csdn.net/u014583317/article/details/109217780

Int Int :: operator+(const Int &x) const
{
    return Int(this->value + x.value);
}
posted @ 2023-09-14 16:09  Castle_Chen  阅读(16)  评论(0)    收藏  举报