C++ Language/Std/Stl/CollectionClasses/SequenceCollections/Vector/Equality
Appearance
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)