title: Qt Creator's autocomplete (intellisense) doesn't work for std::vector elements
body: <p>How can I make autocomplete in Qt Creator work for <code>std::vector</code>? Is it normal for it not to work?</p>
  
  <p>For example, on a fresh new project, I create a <code>struct foo { int bar; };</code>. If I create a QVector of foo, intellisense/autocomplete works fine:</p>
  
  <p><img src="https://i.stack.imgur.com/1kBRM.png" alt="enter image description here"></p>
  
  <p>But for an <code>std::vector&lt;foo&gt; v2</code> <strong>nothing happens</strong> after I press the dot in <code>v2[0].</code></p>
  
  <p>I'm on Qt Creator 3.3.0, using the Visual Studio compiler tool-chain (so the STL comes from VS, not gcc if that makes any difference).</p>
  
  <p><strong>Edit:</strong> I've found a related bug reported (about iterators though) - <a href="https://bugreports.qt.io/browse/QTCREATORBUG-1892">https://bugreports.qt.io/browse/QTCREATORBUG-1892</a>. I reproduce this problem as well.</p>
  
  <p><strong>Edit 2:</strong> I tested with a custom template class:</p>
  
  <pre><code>struct bar {
      int b;
  };
  template&lt;class T&gt; struct foo {
      T operator [](int a) { return T(); }
  };
  </code></pre>
  
  <p>And it's working fine:</p>
  
  <p><img src="https://i.stack.imgur.com/k9OO6.png" alt="enter image description here"></p>