mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
AK: Add IsSigned conterpart to IsUnsigned.
This commit is contained in:
committed by
Andreas Kling
parent
d77cbc0fa8
commit
4f1c72c174
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user