title: how to access only element of unordered_set in c++?
body: <p>For ex,</p>
  
  <pre><code>unordered_set&lt;int&gt; s ;
  s.insert(100);
  </code></pre>
  
  <p>How do I get value 100 from s?</p>
  
  <p>From <a href="http://www.cplusplus.com/reference/unordered_set/unordered_set/begin/" rel="noreferrer">http://www.cplusplus.com/reference/unordered_set/unordered_set/begin/</a>, </p>
  
  <blockquote>
    <p>Notice that an <code>unordered_set</code> object makes no guarantees on which specific element is considered its first element. But, in any case, the range that goes from its begin to its end covers all the elements in the container (or the bucket), until invalidated.</p>
  </blockquote>
  
  <p>So <code>s.begin()</code> won't always give me value 100?</p>
  
  <p>Please clarify.</p>