Standard C++ Library Reference ISO/IEC (VERSION3)
 vector<Ty, Alloc>& right);
 };
operator!=
template<class Ty, class Alloc>
 bool operator!=(
 const vector <Ty, Alloc>& left,
 const vector <Ty, Alloc>& right);
The template function returns !(left == right).
operator==
template<class Ty, class Alloc>
 bool operator==(
 const vector <Ty, Alloc>& left,
 const vector <Ty, Alloc>& right);
The template function overloads operator== to compare two objects of template class
vector. The function returns left.size() == right.size() && equal(left.
begin(), left. end(), right.begin()).
operator<
template<class Ty, class Alloc>
 bool operator<(
 const vector <Ty, Alloc>& left,
 const vector <Ty, Alloc>& right);
The template function overloads operator< to compare two objects of template class
vector. The function returns lexicographical_compare(left. begin(),
left. end(), right.begin(), right.end()).
operator<=
template<class Ty, class Alloc>
 bool operator<=(
 const vector <Ty, Alloc>& left,
 const vector <Ty, Alloc>& right);
The template function returns !(right < left).










