AK: Add the Fundamental concept
This commit is contained in:
parent
7418bdb85f
commit
604309327e
Notes:
sideshowbarker
2024-07-18 05:01:22 +09:00
Author: https://github.com/kleinesfilmroellchen Commit: https://github.com/SerenityOS/serenity/commit/604309327e Pull-request: https://github.com/SerenityOS/serenity/pull/12732 Reviewed-by: https://github.com/linusg
1 changed files with 4 additions and 0 deletions
|
@ -18,6 +18,9 @@ concept Integral = IsIntegral<T>;
|
|||
template<typename T>
|
||||
concept FloatingPoint = IsFloatingPoint<T>;
|
||||
|
||||
template<typename T>
|
||||
concept Fundamental = IsFundamental<T>;
|
||||
|
||||
template<typename T>
|
||||
concept Arithmetic = IsArithmetic<T>;
|
||||
|
||||
|
@ -109,6 +112,7 @@ using AK::Concepts::Arithmetic;
|
|||
using AK::Concepts::ArrayLike;
|
||||
using AK::Concepts::Enum;
|
||||
using AK::Concepts::FloatingPoint;
|
||||
using AK::Concepts::Fundamental;
|
||||
using AK::Concepts::Integral;
|
||||
using AK::Concepts::IterableContainer;
|
||||
using AK::Concepts::IteratorFunction;
|
||||
|
|
Loading…
Add table
Reference in a new issue