title: C++ vector with managed objects
body: <p>Hello I need to have vector (or some other data structure, which is similar) filled with managed objects.</p>
  
  <p>Usually I can write:</p>
  
  <pre><code>std::vector&lt;Object&gt; vect;
  </code></pre>
  
  <p>But I cannot use:</p>
  
  <pre><code>std::vector&lt;Object^&gt; vect;
  </code></pre>
  
  <p>Can somebody explain, how to change declaration or advice other structure instead of vector. Thanks.</p>