title: Does there exist something like std::tie for std::pair?
body: <p>Eg with tuples:</p>
  
  <pre><code>#include &lt;tuple&gt;        // std::tuple, std::make_tuple, std::tie
  
  int num;
  char letter;
  std::tuple&lt;int,char&gt; num_letter;
  
  num_letter = std::make_tuple(10, 'a');
  std::tie(num, letter) = num_letter;  // unpack num_letter into num and letter
  </code></pre>
  
  <p>Is there something equivalent with pairs?</p>
  
  <pre><code>// ...
  num_letter = std::make_pair(10, 'a');
  std::pair_tie(num, letter) = num_letter;
  </code></pre>