How can I create an interface without parameterless constructor in C++?
<p>How can I hide the default constructor from consumers? I tried to write in private but got compilation issues.</p>

<p>solution is:</p>

<pre><code>class MyInterface
{
public:
            MyInterface(SomeController *controller) {}
};

class Inherited : public MyInterface
{

private:
            Inherited () {}
public:
            Inherited(SomeController *controller)
            {
            }

};
</code></pre>
