Move item to a list without copying : <p>Given </p>

<pre><code>std::list&lt;std::vector&lt;float&gt;&gt; foo;
std::vector&lt;float&gt; bar;
</code></pre>

<p>How should I move <code>bar</code> to the end of <code>foo</code> without copying data? </p>

<p>Is this ok?</p>

<pre><code>foo.emplace_back(std::move(bar));
</code></pre>
