mirror of
https://github.com/RGBCube/serenity
synced 2025-10-24 07:42:07 +00:00
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.
|
||
|---|---|---|
| .. | ||
| Attribute.h | ||
| CharacterSet.h | ||
| CMakeLists.txt | ||
| Color.h | ||
| EscapeSequenceParser.cpp | ||
| EscapeSequenceParser.h | ||
| Line.cpp | ||
| Line.h | ||
| Position.h | ||
| Range.h | ||
| StateMachine.txt | ||
| Terminal.cpp | ||
| Terminal.h | ||
| TerminalWidget.cpp | ||
| TerminalWidget.h | ||
| XtermColors.h | ||