Rvalue reference and auto&& local variables
<p>What is the point of defining a local variable to be an rvalue reference or a forwarding (universal) reference? As far as I understand, any variable that has a name is an lvalue and will be treated as such moving forward.</p>

<p>Example:</p>

<pre><code>Widget&amp;&amp; w1 = getWidget();
auto&amp;&amp; w2 = getWidget();
</code></pre>

<p>w1 and w2 are both lvalues, and will be treated as such if they're passed as arguments later on. Their decltype is probably not, but what difference does this make? Why would anyone need to define variables that way?</p>