title: Netbeans having some trouble with c++ std::map::operator[]
body: <p>I'm using Netbeans IDE 8.0 and I'm having some trouble with it.</p>
  
  <p>Here is a chunk of code explaining the problem :</p>
  
  <pre><code>typedef struct Context {
      bool finished;
      bool reliable;
      bool running;
      bool firstAckReceived;
      map&lt;uint32_t, uint32_t&gt;* missingChunks;
  } Context;
  
  map&lt;uint32_t, Context*&gt;* contexts;
  ...
  this-&gt;contexts-&gt;operator[]((uint32_t) ctrl.getSource())-&gt;running = true;
  </code></pre>
  
  <p>When using suggestion (CTRL+Space), the operator[] returns a Context&amp; as expected, but can't give me any suggestion after that. Netbeans doesn't that it's a Context which can be de-referenced to get Context fields.</p>
  
  <p>Compilation is OK
  Moreover, "-running" is highlighted as an error which keeps bothering me.
  Does this happen a lot ?</p>
  
  <p>Plus, I think I should be able to access the element using a syntax as follows, but g++ complains ...</p>
  
  <pre><code>this-&gt;contexts[(uint32_t) ctrl.getSource()]-&gt;running = true;
  </code></pre>
  
  <p>Any ideas?</p>