[#bsl-operator_3way-07cc] = xref:bsl.adoc[bsl]::operator<=> :relfileprefix: ../ :mrdocs: Perform a lexicographic three‐way comparison of `lhs` and `rhs`. == Synopsis Declared in `<bslstl_deque.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class VALUE_TYPE, class ALLOCATOR> xref:BloombergLP/bslalg/SynthThreeWayUtil/Result.adoc[BloombergLP::bslalg::SynthThreeWayUtil::Result<VALUE_TYPE>] operator<=>( xref:bsl/deque-0c.adoc[deque<VALUE_TYPE, ALLOCATOR>] const& lhs, xref:bsl/deque-0c.adoc[deque<VALUE_TYPE, ALLOCATOR>] const& rhs); ---- == Description Perform a lexicographic three‐way comparison of the specified `lhs` and the specified `rhs` containers by using the comparison operators of `VALUE_TYPE` on each element; return the result of that comparison. == Return Value result of the three‐way comparison == Parameters [cols="1,4"] |=== | Name| Description | *lhs* | left‐hand deque to compare | *rhs* | right‐hand deque to compare |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#