1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-09 09:34:57 +09:00

AK: Add Signed/Unsigned concepts.

This commit is contained in:
Michel Hermier 2021-03-27 22:20:15 +01:00 committed by Andreas Kling
parent 4f1c72c174
commit 7d591432c4
Notes: sideshowbarker 2024-07-18 21:00:21 +09:00

View file

@ -41,6 +41,12 @@ concept FloatingPoint = IsFloatingPoint<T>::value;
template<typename T>
concept Arithmetic = IsArithmetic<T>::value;
template<typename T>
concept Signed = IsSigned<T>::value;
template<typename T>
concept Unsigned = IsUnsigned<T>::value;
#endif
}
@ -50,5 +56,7 @@ concept Arithmetic = IsArithmetic<T>::value;
using AK::Concepts::Arithmetic;
using AK::Concepts::FloatingPoint;
using AK::Concepts::Integral;
using AK::Concepts::Signed;
using AK::Concepts::Unsigned;
#endif