initiating a new constructor to an existing variable/object
<p>I have a problem in this code. I want vfunc to be public so any function in VI_Smooth can use the same instance and at the same time I cannot initiate the vfunc instance because I don't have Commands yet! the new command is giving me wrong results, I cannot change the code of vfunc class and there is no operator=  to vfunc.</p>

<p>my problem is that I want to use the same name of the Object vfunc in VI_Smooth without initiating a new one with the constructorthat takes Commands inside the vfunc class </p>

<pre><code>#include &lt;vfunc.h&gt;
class VI_Smooth
{   
public:
    const char* filename;
    Layers _layers; 
    vfunc VF;
    int nPts;

    VI_Smooth()
    {
        // ...
       int commands = 0;
        VF = vfunc(commands); // here is my problem
    }

    // ...
};

class vfunc
{
    vfunc()
    {
        // ...
    }

    vfunc(int commands)
    {
        // ...
    }

    // ...
}
</code></pre>
