title: I want to create something like a python dictionary in C++
body: <p>I'm using a struct. Is there some way to iterate through all the items of type "number"?</p>
  
  <pre><code>struct number { int value; string name; };
  </code></pre>