title: Using find on map<pair, int>
body: <p>How do you use find with a <code>const_iterator</code> if you have a map defined as</p>
  
  <pre><code>typedef std::pair&lt;int, int&gt; MyPair;
  map&lt;MyPair, int&gt; MyMap;
  </code></pre>
  
  <p>with the <code>pair</code> defined as the key.</p>
  
  <p>If it was just <code>map&lt;int, int&gt;</code>, I know how to use a <code>const_iterator</code> like</p>
  
  <pre><code>typedef map&lt;int, int&gt; MyMap;
  MyMap::const_iterator it = 
        MyMap.find(0);
  
  // etc..
  </code></pre>