Anonymous object with one argument cannot be declared
<p>There is this code:</p>

<pre><code>class SomeClass
{
public:
    SomeClass(){}

    SomeClass(SomeClass&amp; b){}

    SomeClass(SomeClass&amp;b, SomeClass&amp; c){}
};

int main()
{
    SomeClass a;
    SomeClass(); // works all right
    //SomeClass(a); error: redeclaration of ‘SomeClass a’
    SomeClass(a, a); // works all right
    return 0;
}
</code></pre>

<p>Anonymous object of SomeClass with 0 and 2 parameters can be declared, however it cannot be declared with only 1 argument. I assume that writing</p>

<pre><code>SomeClass(a);
</code></pre>

<p>is the same as</p>

<pre><code>SomeClass a;
</code></pre>

<p>How to create anonymous object with one argument?</p>
