title: Is is possible to use std::map in C++ with a class without any copy operator?
body: <p>I'm using a Class (Object) that doesn't have any copy operator : it basically cannot be copied right now. I have a </p>
  
  <p><code>std::map&lt;int,Object&gt; objects</code></p>
  
  <p>variable that lists objects with an int identifier. How could I add an Object to this map without having to use copy operators?
  I tried </p>
  
  <p><code>objects.insert(std::pair&lt;0,Object()&gt;);</code></p>
  
  <p>but that won't compile. I would just like to create my object initially inside the map using the default constructor, but writing </p>
  
  <p><code>objects[0];</code> fails... 
  Thanks :)</p>