1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 11:28:11 +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

@ -75,15 +75,6 @@ public:
return view().to_number<T>(trim_whitespace);
}
template<typename T = int>
Optional<T> to_int(TrimWhitespace = TrimWhitespace::Yes) const;
template<typename T = unsigned>
Optional<T> to_uint(TrimWhitespace = TrimWhitespace::Yes) const;
#ifndef KERNEL
Optional<double> to_double(TrimWhitespace = TrimWhitespace::Yes) const;
Optional<float> to_float(TrimWhitespace = TrimWhitespace::Yes) const;
#endif
bool equals_ignoring_ascii_case(StringView) const;
bool starts_with(StringView, CaseSensitivity = CaseSensitivity::CaseSensitive) const;
bool ends_with(StringView, CaseSensitivity = CaseSensitivity::CaseSensitive) const;