void printAB(Test &t1,Test &t2) { cout<<"t1+t2 :a"<<t1.GetA() + t2.GetA() <<" b"<<t1.GetB() + t2.GetB()<<endl; }
Test add2(Test &t1, Test &t2) { Test t3(t1.GetA() + t2.GetA(), t1.GetB() + t2.GetB()); return t3; }