title: what does "Error: constructors may not be cv-qualified?
body: <p>I think it is because of the code I wrote below. But I couldn't solve it.</p>
  
  <pre><code>classname::smt() {;}
  
  classname::smt1(int x, double y, string name)
  {
      x = xprivate;
      y = yprivate;
      name = nameprivate;
  }
  </code></pre>