[#bsl-operator_3way-01d] = xref:bsl.adoc[bsl]::operator<=> :relfileprefix: ../ :mrdocs: Return the three‐way comparison result of the specified `lhs` and `rhs` stacks by comparing their underlying containers. == Synopsis Declared in `<bslstl_stack.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class VALUE, three_way_comparable CONTAINER> compare_three_way_result_t<CONTAINER> operator<=>( xref:bsl/stack-05.adoc[stack<VALUE, CONTAINER>] const& lhs, xref:bsl/stack-05.adoc[stack<VALUE, CONTAINER>] const& rhs); ---- == Return Value result of the three‐way comparison == Parameters [cols="1,4"] |=== | Name| Description | *lhs* | left‐hand stack operand | *rhs* | right‐hand stack operand |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#