title: Cost of using std::map with std::string keys vs int keys?
body: <p>I know that the individual map queries take a maximum of log(N) time. However I was wondering, I have seen a lot of examples that use strings as map keys. What is the performance cost of associating a std::string as a key to a map instead of an int for example ?</p>
  
  <p><code>std::map&lt;std::string, aClass*&gt; someMap;</code> vs <code>std::map&lt;int, aClass*&gt; someMap;</code></p>
  
  <p>Thanks!</p>