title: How can I check if I'm on the last element when iterating using foreach syntax
body: <p>For example:</p>
  
  <pre><code>for( auto &amp;iter: item_vector ) {
       if(not_on_the_last_element) printf(", ");
  }
  </code></pre>
  
  <p>or</p>
  
  <pre><code>for( auto &amp;iter: skill_level_map ) {
       if(not_on_the_last_element) printf(", ");
  }
  </code></pre>