title: Boost.Assign: using objects with map_list_of?
body: <p>Using C++ with boost.  In Boost.Assign can I use the new operator with map_list_of?</p>
  
  <p>For example:</p>
  
  <pre><code>std::map&lt;int, MyObject*&gt; objects = boost::assign::map_list_of
         (1, new MyObject())(2, new MyObject())(3, new MyObject())
  </code></pre>
  
  <p>If not, is there another way to do it?</p>