title: Sequence-zip function for C++11?
body: <p>With the new range-based for-loop we can write code like:</p>
  <pre class="lang-cpp prettyprint-override"><code>for(auto x: Y) {}
  </code></pre>
  <p>Which IMO is a <em>huge</em> improvement from (for ex.)</p>
  <pre class="lang-cpp prettyprint-override"><code>for(std::vector&lt;int&gt;::iterator x=Y.begin(); x!=Y.end(); ++x) {}
  </code></pre>
  <p>Can it be used to loop over two simultaneous loops, like Python's <code>zip</code> function? For those unfamiliar with Python, the code:</p>
  <pre class="lang-py prettyprint-override"><code>Y1 = [1,2,3]
  Y2 = [4,5,6,7]
  for x1,x2 in zip(Y1,Y2):
      print x1,x2
  </code></pre>
  <p>Gives as output <code>(1,4) (2,5) (3,6)</code></p>