title: error: default argument given for parameter 1
body: <p>I'm getting this error message with the code below:</p>
  
  <pre><code>class Money {
  public:
      Money(float amount, int moneyType);
      string asString(bool shortVersion=true);
  private:
      float amount;
      int moneyType;
  };
  </code></pre>
  
  <p>First I thought that default parameters are not allowed as a first parameter in C++ but it is allowed.</p>