BloombergLP::bslalg::operator<=>

Perform a three-way comparison between the specified lhs and rhs iterators. The behavior is undefined unless lhs and rhs are iterators over the same deque.

Synopsis

Declared in <bslalg_dequeiterator.h>

auto
operator<=>(
    DequeIterator const& lhs,
    DequeIterator const& rhs);

Return Value

the three-way comparison result of the two iterators

Parameters

NameDescription
lhsfirst iterator to compare
rhssecond iterator to compare