mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-07 00:19:27 +00:00
e2e7c4d574
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. |
||
---|---|---|
.. | ||
etc | ||
home/anon | ||
res | ||
root | ||
usr/share | ||
www |