title: Expected type-specifier before ';' token
body: <p>I get the error "Expected type-specifier before ';' token" in a line of code marked below. Is it asking to specify the type of (*this)? Why wouldn't the compiler know the type of (*this)?</p>
  
  <pre><code>struct P{
  };
  
  struct R : public P{
    virtual P* copy(){
      return new(R(*this));  //error here
    }
  };
  </code></pre>