title: Vector of objects that contain references
body: <p>I have the following struct:</p>
  
  <pre><code>struct Transaction {
      Transaction(Book&amp; bb, Patron&amp; pp, Date dd)
          : b(bb), p(pp), d(dd) { }
          Book&amp; b;
          Patron&amp; p
          Date d;
  };
  </code></pre>
  
  <p>When I try to put an object of type <code>Transaction</code> into a <code>vector&lt;Transaction&gt;v_t</code> with a <code>push_back</code>, it won't work. A screenful of errors breaks lose.</p>
  
  <p>Is it because I have references as members of my object?</p>