Trouble with STL map and pointers
<pre><code>typedef map&lt;char,string&gt; someMap;
someMap *mapPtr=someClass.getMap();
*(mapPtr)["a"].length();
</code></pre>

<p>The last line of this code fails. What should I to in order to make this work?</p>
