mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 19:47:46 +00:00
AK: Make IsUnsigned<T> behave as you would expect
This commit is contained in:
parent
8743ea3149
commit
497d48a8de
2 changed files with 11 additions and 1 deletions
|
@ -533,7 +533,7 @@ template<typename... _Ignored>
|
|||
constexpr auto DependentFalse = false;
|
||||
|
||||
template<typename T>
|
||||
using IsUnsigned = IsSame<T, MakeUnsigned<T>>;
|
||||
using IsUnsigned = IsSame<T, typename MakeUnsigned<T>::Type>;
|
||||
|
||||
template<typename T>
|
||||
using IsArithmetic = IntegralConstant<bool, IsIntegral<T>::value || IsFloatingPoint<T>::value>;
|
||||
|
@ -620,6 +620,7 @@ using AK::IsFundamental;
|
|||
using AK::IsNullPointer;
|
||||
using AK::IsSame;
|
||||
using AK::IsUnion;
|
||||
using AK::IsUnsigned;
|
||||
using AK::IsVoid;
|
||||
using AK::MakeIndexSequence;
|
||||
using AK::MakeIntegerSequence;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue