title: Dealing with private default constructor
body: <p>I'm working with a library which has a <code>class X</code>, whose default constructor is declared private. </p>
  
  <p>Note that <code>class X</code> supports assignment operator.</p>
  
  <p>I want to implement a class which includes class X.</p>
  
  <pre><code>class MyClass
  {
      X x;
      Y y;
      Z z;
  public:
      MyClass(X xv, Y yv, Z zv);
  };
  </code></pre>
  
  <p>My purpose for implementing this class is that I've to insert this triplet value into a list.</p>
  
  <p>But I'm not able to implement this class as the default constructor of <code>X</code> is declared private, also I won't prefer meddling with code of <code>X</code> as rest of the library functions depend on it.</p>
  
  <p>Can I use the fact that <code>class X</code> has an assignment operator, to achieve what I want? Thanks.</p>
  
  <p>Edit 1: There is no other constructor available for that class.</p>