title: How do you pass an unordered_map as a function parameter within C++?
body: <p>My program was originally set up to pass an array through a function. I have since changed it over to an unordered_map. How can I pass an unordered_map through a function as opposed to something like:</p>
  
  <pre><code>int function(int array[])
  </code></pre>