mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:17:44 +00:00
AK: Make it possible to not using
AK classes into the global namespace
This patch adds the `USING_AK_GLOBALLY` macro which is enabled by default, but can be overridden by build flags. This is a step towards integrating Jakt and AK types.
This commit is contained in:
parent
e50a43652e
commit
ae3ffdd521
124 changed files with 276 additions and 12 deletions
|
@ -121,6 +121,7 @@ concept FallibleFunction = requires(Func&& func, Args&&... args) {
|
|||
// clang-format on
|
||||
}
|
||||
|
||||
#if USING_AK_GLOBALLY
|
||||
using AK::Concepts::Arithmetic;
|
||||
using AK::Concepts::ArrayLike;
|
||||
using AK::Concepts::Enum;
|
||||
|
@ -138,3 +139,4 @@ using AK::Concepts::Signed;
|
|||
using AK::Concepts::SpecializationOf;
|
||||
using AK::Concepts::Unsigned;
|
||||
using AK::Concepts::VoidFunction;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue