title: vector identifier isn't defined but it is?
body: <p>I'm declaring a vector of a certain type;</p>
  
  <pre><code>std::vector&lt;CBullet&gt; m_vBullets;
  </code></pre>
  
  <p>and I'm looking to return the vector to assign to another vector later on;</p>
  
  <pre><code>std::vector&lt;CBullet&gt; getVectorBullet()
  {
      std::vector&lt;CBullet&gt; c;
      c = m_vBullets;
      return c;
  }
  </code></pre>
  
  <p>When I try and assign <code>c</code> to <code>m_vBullets</code> I get the following error;</p>
  
  <pre><code>2   IntelliSense: identifier "m_vBullets" is undefined
  </code></pre>
  
  <p>Any reason why?</p>