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