operator==,<=> (std::flat_multiset)
From cppreference.com
<
cpp
|
container
|
flat multiset
C++
Containers library
| Sequence | ||||
|
(C++11)
|
||||
|
(C++26)
|
||||
|
(C++11)
|
||||
| Associative | ||||
| Unordered associative | ||||
|
(C++11)
|
||||
|
(C++11)
|
||||
|
(C++11)
|
||||
|
(C++11)
|
||||
| Adaptors | ||||
|
(C++23)
|
||||
|
(C++23)
|
||||
|
(C++23)
|
||||
|
(C++23)
|
||||
| Views | ||||
|
(C++20)
|
||||
|
(C++23)
|
||||
| Tables | ||||
| Iterator invalidation | ||||
| Member function table | ||||
| Non-member function table |
std::flat_multiset
| Member types | |||||||
| Member functions | |||||||
| Non-member functions | |||||||
|
|||||||
| Helper classes | |||||||
| Tags | |||||||
| Deduction guides | |||||||
|
friend
bool
operator
==
(
const
std::
flat_multiset
&
lhs,
const std:: flat_multiset & rhs ) ; |
(1) | (since C++23) |
|
friend
synth
-
three
-
way
-
result
<
value_type
>
operator
<=>
(
const
std::
flat_multiset
&
lhs,
|
(2) | (since C++23) |
|
This section is incomplete
Reason: For "flat" containers only: copy parts of Template:cpp/container/operator_cmp |
Parameters
| lhs, rhs | - |
container adaptors whose contents to compare
|
Return value
1)
true
if the corresponding comparison yields
true
,
false
otherwise.
2)
Result of three-way comparison on underlying containers.
Complexity
1)
Constant if
lhs
and
rhs
are of different size, otherwise linear in the size of the
flat_multiset
.
2)
Linear in the size of the container.
Example
|
This section is incomplete
Reason: no example |
Retrieved from "
https://en.cppreference.com/mwiki/index.php?title=cpp/container/flat_multiset/operator_cmp&oldid=169574
"