pair (const T1& x, const T2& y);
</pre><p>does what you think it does, <code class="code">first</code> getting <code class="code">x</code>
and <code class="code">second</code> getting <code class="code">y</code>.
- </p><p>There is a copy constructor, but it requires that your compiler
- handle member function templates:
+ </p><p>There is a constructor template for copying pairs of other types:
</p><pre class="programlisting">
template <class U, class V> pair (const pair<U,V>& p);
</pre><p>The compiler will convert as necessary from U to T1 and from