operator==
template<class T>
bool operator==(
const Cont <T>& lhs,
const Cont <T>& rhs);The template function overloads operator== to compare two objects of template class Cont. The function returns lhs.size() == rhs.size() && equal(lhs. begin(), lhs. end(), rhs.begin()).