bsl::operator>

Return whether the specified queues compare lexicographically; see the non-member operator> in the bsl namespace.

Synopsis

Declared in <bslstl_queue.h>

template<
    class VALUE2,
    class CONTAINER2>
bool
operator>(
    queue<VALUE2, CONTAINER2> const& lhs,
    queue<VALUE2, CONTAINER2> const& rhs);

NOTE

This function is a hidden friend of queue, declared only inside that class: it can be found only through argument-dependent lookup.

Return Value

true if lhs is lexicographically greater than rhs, otherwise false

Parameters

NameDescription
lhsleft-hand queue operand
rhsright-hand queue operand