1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 07:44:59 +00:00

AK: Specialise convert_to_uint<T> and to_uint<T> for 'long' variants

This commit is contained in:
AnotherTest 2021-01-11 21:39:22 +03:30 committed by Andreas Kling
parent ccf4368ca5
commit 7029a8f605
2 changed files with 4 additions and 0 deletions

View file

@ -170,6 +170,8 @@ template Optional<u8> convert_to_uint(const StringView& str);
template Optional<u16> convert_to_uint(const StringView& str);
template Optional<u32> convert_to_uint(const StringView& str);
template Optional<u64> convert_to_uint(const StringView& str);
template Optional<long> convert_to_uint(const StringView& str);
template Optional<long long> convert_to_uint(const StringView& str);
template<typename T>
Optional<T> convert_to_uint_from_hex(const StringView& str)