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 @@ -179,7 +179,7 @@ | chrono::time_zone_link",A ```` implementation,Unassigned,|Not Started| - `5.13 Clause 28: Localization library `_,,,, "| `[locale] `_ -| `[locale.operators] `_",| remove ops `locale`,None,Unassigned,|Not Started| +| `[locale.operators] `_",| remove ops `locale `_,None,Hristo Hristov,|Complete| - `5.14 Clause 29: Input/output library `_,,,, | `[fs.filesystem.syn] `_,| `filesystem::space_info `_,None,Adrian Vogelsgesang,|Complete| "| `[fs.class.path] `_ diff --git a/libcxx/include/__locale b/libcxx/include/__locale --- a/libcxx/include/__locale +++ b/libcxx/include/__locale @@ -110,7 +110,9 @@ // locale operations: string name() const; bool operator==(const locale&) const; +#if _LIBCPP_STD_VER <= 17 _LIBCPP_HIDE_FROM_ABI bool operator!=(const locale& __y) const {return !(*this == __y);} +#endif template _LIBCPP_METHOD_TEMPLATE_IMPLICIT_INSTANTIATION_VIS bool operator()(const basic_string<_CharT, _Traits, _Allocator>&, diff --git a/libcxx/include/locale b/libcxx/include/locale --- a/libcxx/include/locale +++ b/libcxx/include/locale @@ -53,7 +53,7 @@ // locale operations: basic_string name() const; bool operator==(const locale& other) const; - bool operator!=(const locale& other) const; + bool operator!=(const locale& other) const; // removed C++20 template bool operator()(const basic_string& s1, const basic_string& s2) const;