title: How to compare two vectors for equality element by element in C++?
body: <p>Is there any way to compare two vectors?</p>
  
  <pre><code>if (vector1 == vector2)
      DoSomething();
  </code></pre>
  
  <p><strong>Note:</strong> Currently, these vectors are not sorted and contain integer values.</p>