Money(const Money& M){ _value = M.getVal(); cout<<"copying money with "<<_value<<"!!!"<<endl; }
Money::Money(const Money& rmoney) { val_ = rmoney.getVal(); }
Money(const Money& M){ _value = M.getVal(); cout<<"copying money with "<<_value<<"!!!"<<endl; }
Money::Money(const Money& rmoney) { val_ = rmoney.getVal(); }