title: C++ std::unique_ptr in std::map
body: <p>Is this:</p>
  
  <pre><code>std::unique_ptr&lt;sf::Texture&gt; texture;
  texture = std::move(textureMap.at(id));  
  return *texture;
  </code></pre>
  
  <p>the same like this?</p>
  
  <pre><code>auto found = textureMap.find(id);
  return *found-&gt;second;
  </code></pre>
  
  <p>textureMap is:</p>
  
  <pre><code>std::map&lt;ID, std::unique_ptr&lt;sf::Texture&gt;&gt;
  </code></pre>
  
  <p>If yes, what's better solution?</p>
  
  <p>Thanks!</p>