411 REFERENCE · Wikibooks
C++ Language/Std/Stl/CollectionClasses/SequenceCollections/Vector/Equality
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
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 std::equal() function.
Additional information about vector equality (includes interactive examples)