bsl::operator>

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

Synopsis

Declared in <bslstl_stack.h>

bool
operator>(
    stack<VAL, CONT> const& lhs,
    stack<VAL, CONT> const& rhs);

Return Value

true if lhs is lexicographically greater than rhs

Parameters

NameDescription
lhsleft-hand stack operand
rhsright-hand stack operand