Why this is causing C2102: '&' requires l-value
<p>I was wondering, why the following way of code (Already commented out) will cause<br>
<code>C2102: '&amp;' requires l-value</code></p>

<p>Is there a better way to avoid using <code>tmp</code> variable?</p>

<pre><code>class a {
private:
    int *dummy;
public:
    int* get_dummy() const {
        return dummy;
    }
};

int main()
{
    a aa;

    // error C2102: '&amp;' requires l-value
    //int** me = &amp;(aa.get_dummy());

    // OK!
    int *tmp = aa.get_dummy();
    int** me = &amp;(tmp);
}
</code></pre>
