error in moving std::unique_ptr
<p>I try to run this code to move the unique_ptr's from the first vector to another, in the copy constructor:</p>

<pre><code>class Text
{
    struct paragraph
    {
        int index;
        string text;
    };

    vector&lt;unique_ptr&lt;paragraph&gt;&gt; paragraphs; 

public:

    Text()
    {
        paragraphs.push_back(unique_ptr&lt;paragraph&gt;(new paragraph));
    }

    Text(const Text &amp; t)
    {
        for(int i = 0; i &lt; (int)t.paragraphs.size(); i++)
        {
            paragraphs.push_back(move(t.paragraphs[i]));
        }
    }
};
</code></pre>

<p>and i got this error:</p>

<pre><code>1&gt;c:\program files\microsoft visual studio 10.0\vc\include\xmemory(208): error C2248: 'std::unique_ptr&lt;_Ty&gt;::unique_ptr' : cannot access private member declared in class 'std::unique_ptr&lt;_Ty&gt;'
1&gt;          with
1&gt;          [
1&gt;              _Ty=Text::paragraph
1&gt;          ]
// Etc.
</code></pre>
