title: Why can't I make a vector of references?
body: <p>When I do this:</p>
  
  <pre><code>std::vector&lt;int&gt; hello;
  </code></pre>
  
  <p>Everything works great. However, when I make it a vector of references instead:</p>
  
  <pre><code>std::vector&lt;int &amp;&gt; hello;
  </code></pre>
  
  <p>I get horrible errors like </p>
  
  <blockquote>
    <p>error C2528: 'pointer' : pointer to reference is illegal</p>
  </blockquote>
  
  <p>I want to put a bunch of references to structs into a vector, so that I don't have to meddle with pointers. Why is vector throwing a tantrum about this? Is my only option to use a vector of pointers instead?</p>