1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 08:54:58 +00:00

AK: Add IsSigned conterpart to IsUnsigned.

This commit is contained in:
Michel Hermier 2021-03-27 22:12:07 +01:00 committed by Andreas Kling
parent d77cbc0fa8
commit 4f1c72c174
2 changed files with 12 additions and 0 deletions

View file

@ -546,6 +546,9 @@ using Void = void;
template<typename... _Ignored>
constexpr auto DependentFalse = false;
template<typename T>
using IsSigned = IsSame<T, typename MakeSigned<T>::Type>;
template<typename T>
using IsUnsigned = IsSame<T, typename MakeUnsigned<T>::Type>;
@ -623,6 +626,7 @@ using AK::IsFundamental;
using AK::IsIntegral;
using AK::IsNullPointer;
using AK::IsSame;
using AK::IsSigned;
using AK::IsUnion;
using AK::IsUnsigned;
using AK::IsVoid;