C++ Language/Std/Stl/CollectionClasses/SequenceCollections/Vector/Equality

Operators  and   compare two vector objects. If you want to compare a vector to some other kind of collection, then you need to use the more general  function.

Additional information about vector equality (includes interactive examples)