mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
AK: Allow Optional<T>
to be used in constant expressions
This commit is contained in:
parent
063be28e90
commit
a059ab4677
Notes:
github-actions[bot]
2025-04-23 03:21:35 +00:00
Author: https://github.com/yyny
Commit: a059ab4677
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4310
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/DanShaders
Reviewed-by: https://github.com/Hendiadyoin1
Reviewed-by: https://github.com/alimpfard ✅
4 changed files with 233 additions and 86 deletions
|
@ -10,6 +10,7 @@
|
|||
#include <AK/Platform.h>
|
||||
#include <AK/StdLibExtraDetails.h>
|
||||
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
namespace AK {
|
||||
|
@ -31,6 +32,7 @@ requires(AK::Detail::IsIntegral<T>)
|
|||
template<typename... Args>
|
||||
void compiletime_fail(Args...);
|
||||
|
||||
using std::construct_at;
|
||||
using std::forward;
|
||||
using std::move;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue