operator<=>

Comparison between two deques, implementing lexicographic ordering on the contents.

Synopsis

Declared in <util/vecdeque.h>

std::strong_ordering
operator<=>(
    VecDeque const& a,
    VecDeque const& b);

Return Value

The ordering of a relative to b, comparing elements in order then size.

Parameters

NameDescription
aThe first deque to compare.
bThe second deque to compare.