diff --git a/libcxx/docs/Status/SpaceshipProjects.csv b/libcxx/docs/Status/SpaceshipProjects.csv --- a/libcxx/docs/Status/SpaceshipProjects.csv +++ b/libcxx/docs/Status/SpaceshipProjects.csv @@ -99,8 +99,8 @@ | `set `_",[expos.only.func],Hristo Hristov,|Complete| | `[unord.map.syn] `_,"| remove ops `unordered_map` | remove ops `unordered_multimap`",None,Unassigned,|Not Started| -| `[unordered.set.syn] `_,"| remove ops `unordered_set` -| remove ops `unordered_multiset`",None,Unassigned,|Not Started| +| `[unordered.set.syn] `_,"| remove ops `unordered_set `_ +| remove ops `unordered_multiset `_",None,Hristo Hristov,|Complete| | `[queue.syn] `_,| `queue `_,None,Hristo Hristov,|Complete| | `[stack.syn] `_,| `stack `_,None,Hristo Hristov,|Complete| | `[queue.ops] `_,| `queue `_,None,Hristo Hristov,|Complete| diff --git a/libcxx/include/unordered_set b/libcxx/include/unordered_set --- a/libcxx/include/unordered_set +++ b/libcxx/include/unordered_set @@ -232,7 +232,7 @@ template bool operator!=(const unordered_set& x, - const unordered_set& y); + const unordered_set& y); // removed in C++20 template , class Pred = equal_to, class Alloc = allocator> @@ -454,7 +454,7 @@ template bool operator!=(const unordered_multiset& x, - const unordered_multiset& y); + const unordered_multiset& y); // removed in C++20 } // std */ @@ -1150,6 +1150,8 @@ return true; } +#if _LIBCPP_STD_VER <= 17 + template inline _LIBCPP_INLINE_VISIBILITY bool @@ -1159,6 +1161,8 @@ return !(__x == __y); } +#endif + template , class _Pred = equal_to<_Value>, class _Alloc = allocator<_Value> > class _LIBCPP_TEMPLATE_VIS unordered_multiset @@ -1792,6 +1796,8 @@ return true; } +#if _LIBCPP_STD_VER <= 17 + template inline _LIBCPP_INLINE_VISIBILITY bool @@ -1801,6 +1807,8 @@ return !(__x == __y); } +#endif + _LIBCPP_END_NAMESPACE_STD #if _LIBCPP_STD_VER >= 17