title: simple hash table using boost library
body: <p>Is there a simple example for hash table implementation using boost lib. I read the following from the documentation</p>
  
  <pre><code>boost::hash&lt;int,std::string&gt; input;
  </code></pre>
  
  <p>I need to know if I can use hash table like:</p>
  
  <pre><code>input.add&lt;key,instance_of_input_class&gt;  //pseudo code 
  </code></pre>
  
  <p>where Input class be:</p>
  
  <pre><code>class Input
  {
      int id;
      std::String name;
  }
  </code></pre>