operator==,<=>(std::flat_multimap)
來自 cppreference.com
< cpp | 容器 | flat_multimap
friend bool operator==( const std::flat_multimap& lhs, const std::flat_multimap& rhs ); |
(1) | (C++23 起) |
friend synth-three-way-result<value_type> operator<=>( const std::flat_multimap& lhs, |
(2) | (C++23 起) |
本節不完整 原因:僅適用於“扁平”容器:複製 Template:cpp/container/operator_cmp 的部分內容 |
目錄 |
[編輯] 引數
lhs, rhs | - | 要比較其內容的容器介面卡
|
[編輯] 返回值
1) 如果相應的比較結果為 true,則返回 true,否則返回 false。
2) 基礎容器的三路比較結果。
[編輯] 複雜度
1) 如果 lhs 和 rhs 大小不同,則為常數時間;否則,與
flat_multimap
的大小呈線性關係。2) 與容器大小呈線性關係。
[編輯] 示例
本節不完整 原因:無示例 |