template<class T, class Cont>
bool operator<(const queue <T, Cont>& lhs,
const queue <T, Cont>& rhs);
The template function overloads operator< to compare two objects of template class queue. The function returns
lhs.c < rhs.c.