[#bsl-operator_gt-017] = xref:bsl.adoc[bsl]::operator> :relfileprefix: ../ :mrdocs: Return whether the specified stacks compare lexicographically; see the non‐member `operator>` in the `bsl` namespace. == Synopsis Declared in `<bslstl_stack.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool operator>( xref:bsl/stack-05.adoc[stack<VAL, CONT>] const& lhs, xref:bsl/stack-05.adoc[stack<VAL, CONT>] const& rhs); ---- == Return Value `true` if `lhs` is lexicographically greater than `rhs` == Parameters [cols="1,4"] |=== | Name| Description | *lhs* | left‐hand stack operand | *rhs* | right‐hand stack operand |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#