-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Server Programmability
-
Fully Compatible
-
None
-
3
-
TBD
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Doing the find/replace over our ~10 user-defined literals now will make it easier to upgrade to clang 20.
From release notes:
The warning -Wdeprecated-literal-operator is now on by default, as this is something that WG21 has shown interest in removing from the language. The result is that anyone who is compiling with -Werror should see this diagnostic. To fix this diagnostic, simply removing the space character from between the operator"" and the user defined literal name will make the source no longer deprecated. This is consistent with CWG2521.
// Now diagnoses by default. unsigned operator"" _udl_name(unsigned long long); // Fixed version: unsigned operator""_udl_name(unsigned long long);
- related to
-
CXX-3325 Clang 20+ has warning -Wdeprecated-literal-operator for json.hpp
-
- Closed
-