Three‐way comparison operators

Synopses

Declared in <bslalg_dequeiterator.h>

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.

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

Return the result of comparing the block pointers of the specified lhs and rhs iterators.

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

Created with MrDocs