operator + method

Money operator +(
  1. Money other
)

Add money

Implementation

Money operator +(Money other)
{
  return new Money(value + other.value);
}