operator!=

template<class T, class Cont>
    bool operator!=(const queue <T, Cont>& lhs,
        const queue <T, Cont>& rhs);

The template function returns !(lhs == rhs).