1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-15 06:34:59 +00:00
serenity/Meta/Lagom/Tools/CodeGenerators/LibLocale
Shannon Booth e2e7c4d574 Everywhere: Use to_number<T> instead of to_{int,uint,float,double}
In a bunch of cases, this actually ends up simplifying the code as
to_number will handle something such as:

```
Optional<I> opt;
if constexpr (IsSigned<I>)
    opt = view.to_int<I>();
else
    opt = view.to_uint<I>();
```

For us.

The main goal here however is to have a single generic number conversion
API between all of the String classes.
2023-12-23 20:41:07 +01:00
..
CMakeLists.txt LibUnicode: Move CLDR data generators to a LibLocale subfolder 2022-09-05 14:37:16 -04:00
GenerateDateTimeFormatData.cpp Everywhere: Use to_number<T> instead of to_{int,uint,float,double} 2023-12-23 20:41:07 +01:00
GenerateLocaleData.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
GenerateNumberFormatData.cpp Everywhere: Use to_number<T> instead of to_{int,uint,float,double} 2023-12-23 20:41:07 +01:00
GeneratePluralRulesData.cpp Everywhere: Use to_number<T> instead of to_{int,uint,float,double} 2023-12-23 20:41:07 +01:00
GenerateRelativeTimeFormatData.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30