Why does this code not compile correctly?
<p>I just found my code like this does not compile right? Is there any compiler-provided constructor here? </p>

<pre><code>class A
  {

   private:   
      A(const A&amp; n);

  };


int main()
{
        A a;
}
</code></pre>

<p>The error is 
test.cpp:18: error: no matching function for call to ‘A::A()’
test.cpp:11: note: candidates are: A::A(const A&amp;)</p>

<p>I am using g++ under Ubuntu 8.04</p>
