class a{public: xxxa func(const &a){ //在这里进行运算a ax;ax=this.xxx+a.xxxreturn a;}private:yyy};int main(){a a1,a1,a3;a3=a1.func(a2);}