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.
Declared in <bslalg_dequeiterator.h>
auto
operator<=>(
DequeIterator const& lhs,
DequeIterator const& rhs);
This function is a hidden friend of DequeIterator, declared only inside that class: it can be found only through argument-dependent lookup.
the three-way comparison result of the two iterators
| Name | Description |
|---|---|
| lhs | first iterator to compare |
| rhs | second iterator to compare |