Three-way compare two small_vectors lexicographically.
Declared in <folly/container/small_vector.h>
template<typename U = value_type>
decltype(std::declval<const U&>() <=> std::declval<const U&>())
operator<=>(
small_vector const& lhs,
small_vector const& rhs);
This function is a hidden friend of small_vector, declared only inside that class: it can be found only through argument-dependent lookup.
The result of the lexicographical three-way comparison.
| Name | Description |
|---|---|
| lhs | The left-hand small_vector. |
| rhs | The right-hand small_vector. |