Namespaces
Variants

operator==,<=> (std::flat_set)

From cppreference.net

friend bool operator == ( const std:: flat_set & lhs,
const std:: flat_set & rhs ) ;
(1) (начиная с C++23)
friend synth - three - way - result < value_type >

operator <=> ( const std:: flat_set & lhs,

const std:: flat_set & rhs ) ;
(2) (начиная с C++23)
Compares the contents of the underlying containers of two container adaptors. The comparison is done by applying the corresponding operator to the underlying containers.

Содержание

Параметры

lhs, rhs - контейнерные адаптеры, содержимое которых сравнивается

Возвращаемое значение

1) true если соответствующее сравнение дает результат true , false в противном случае.
2) Результат трёхстороннего сравнения базовых контейнеров.

Сложность

1) Константная, если lhs и rhs имеют разный размер, в противном случае линейная от размера flat_set .
2) Линейная относительно размера контейнера.

Пример