title: std::string_view and std::string in std::unordered_set
body: <p>Let's say you have an <code>std::unordered_set&lt;std::string&gt;</code> . </p>
  
  <p>You have an <code>std::string_view</code> object that you want to search for in the container. Problem is, you don't want to create a <code>std::string</code> from your <code>std::string_view</code>, as this kind of defeats the purpose of using <code>std::string_view</code> in the first place. </p>
  
  <p>However, it seems that <code>std::string_view</code> should be usable as a key; there should be some way to compare <code>std::string_view</code> and <code>std::string</code> , as they both basically represent the same thing. But there isn't, not in the STL anyway. </p>
  
  <p>This is an impasse, am I forced to write my own comparison object for <code>std::string_view</code> and <code>std::string</code> objects to use with my <code>std::unordered_set</code> ?</p>
  
  <p>edit: This question is specific to string_view objects. The 'duplicate' question is not relevant. I received a unique answer to a unique question, as expected. </p>