title: C++ list iterator to integer conversion?
body: <p>Hello guys I have a list iterator type which I want to convert to UINT. </p>
  
  <pre><code>std::set&lt;UINT&gt; volSet;
  UINT ssidBase = 1;
  UINT ssidEnd = 2;
  volSet.insert( ssidBase );
  volSet.insert (ssidEnd);
  UINT ssidStart =  evf::volSet.begin(); 
  </code></pre>
  
  <p>I want the first value in the volSet to be set to ssidStart. I'm getting an error when I run this?</p>
  
  <pre><code>cannot convert 'std::_Tree&lt;std::_Tset_traits&lt;unsigned int, std::less&lt; unsigned int&gt;, std::allocator&lt; unsigned int&gt;, false&gt; &gt;::iterator' to 'UINT' in initialization
  </code></pre>
  
  <p>Any help is appreciated?</p>