title: How to use STL map?
body: <p>I have a private field</p>
  
  <pre><code>std::map&lt;std::string, std::multiset&lt;GraphObject*&gt;&gt;* the_Map;
  </code></pre>
  
  <p>How can I allocate memory for it and insert a GraphObject?
  Do I have to use the new operator?</p>
  
  <pre><code>the_Map = new map&lt;string,multiset&lt;GraphObject*&gt;&gt;;
  </code></pre>
  
  <p>And how can I insert a new GraphObject?
  It's part of a datastructure and I really need a pointer to a map.</p>