title: Creating shared_ptr from raw pointer
body: <p>I have a pointer to an object. I would like to store it in two containers which both have the ownership. So I think I would be good to make it a shared_ptr of C++0x. How could I convert a raw pointer to a shared_pointer?</p>
  
  <pre><code>typedef unordered_map&lt;string, shared_ptr&lt;classA&gt;&gt;MAP1;
  MAP1 map1;
  classA* obj = new classA();
  map1[ID] = how could I store obj in map1??
  </code></pre>
  
  <p>Thanks</p>