1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 09:24:57 +00:00

AK: Remove now unused to_{int,uint,float,double} String functions

This commit is contained in:
Shannon Booth 2023-12-23 15:58:33 +13:00 committed by Andreas Kling
parent e2e7c4d574
commit d51f84501a
6 changed files with 0 additions and 130 deletions

View file

@ -219,15 +219,6 @@ public:
// following newline.".
[[nodiscard]] Vector<StringView> lines(bool consider_cr = true) const;
template<typename T = int>
Optional<T> to_int() const;
template<typename T = unsigned>
Optional<T> to_uint() const;
#ifndef KERNEL
Optional<double> to_double(TrimWhitespace trim_whitespace = TrimWhitespace::Yes) const;
Optional<float> to_float(TrimWhitespace trim_whitespace = TrimWhitespace::Yes) const;
#endif
// Create a new substring view of this string view, starting either at the beginning of
// the given substring view, or after its end, and continuing until the end of this string
// view (that is, for the remaining part of its length). For example,