mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 09:58:14 +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
|
@ -281,10 +281,12 @@ static constexpr Complex<T> cexp(Complex<T> const& a)
|
|||
}
|
||||
}
|
||||
|
||||
# if USING_AK_GLOBALLY
|
||||
using AK::approx_eq;
|
||||
using AK::cexp;
|
||||
using AK::Complex;
|
||||
using AK::complex_imag_unit;
|
||||
using AK::complex_real_unit;
|
||||
# endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue