| 324 | // Comparison operators |
| 325 | template <typename Key, typename Less> |
| 326 | bool operator==(const flat_set<Key, Less>& lhs, |
| 327 | const flat_set<Key, Less>& rhs) { |
| 328 | return lhs.size() == rhs.size() && |
| 329 | fl::equal(lhs.begin(), lhs.end(), rhs.begin()); |
| 330 | } |
| 331 | |
| 332 | template <typename Key, typename Less> |
| 333 | bool operator!=(const flat_set<Key, Less>& lhs, |