Returns <code>true_</code> if the two sequences <code>Sequence1</code> and <code>Sequence2</code> are identical when compared element-by-element, and otherwise returns <code>false_</code>.
<tr><td><code>Sequence1</code>, <code>Sequence2</code></td><td>A model of <ahref="../Forward_Sequence.html">Forward Sequence</a></td><td>Sequences to compare. </td></tr>
<tr><td><code>typedef equal<Sequence1,Sequence2,Pred>::type c;</code></td><td>A model of <ahref="../Integral_Constant.html">Integral Constant</a></td><td></td><td><code>c::value == true</code> is and only if <code>size<Sequence1>::type::value == size<Sequence2>::type::value</code> and for every iterator <code>i</code> in <code>[begin<Sequence>::type,end<Sequence>::type)</code><code>i::type</code> is identical to <code>advance< begin<Sequence2>::type, distance< begin<Sequence1>::type,i >::type >::type</code>.</td><td></td></tr>
</table>
<p>
<h3>Complexity</h3>
<p>
Linear. At most <code>size<Sequence1>::value</code> comparisons.