mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:47:35 +00:00
AK: Move compiletime_fail to StdLibExtras.h
This function will be used in the next commit in "BigIntBase.h".
This commit is contained in:
parent
1fec1741b9
commit
2a6f5ff441
2 changed files with 3 additions and 3 deletions
|
@ -40,9 +40,6 @@ struct Array {
|
|||
T __data[Size];
|
||||
};
|
||||
|
||||
template<typename... Args>
|
||||
void compiletime_fail(Args...);
|
||||
|
||||
template<size_t N>
|
||||
consteval auto extract_used_argument_index(char const (&fmt)[N], size_t specifier_start_index, size_t specifier_end_index, size_t& next_implicit_argument_index)
|
||||
{
|
||||
|
|
|
@ -32,6 +32,9 @@ requires(AK::Detail::IsIntegral<T>)
|
|||
return value && !((value) & (value - 1));
|
||||
}
|
||||
|
||||
template<typename... Args>
|
||||
void compiletime_fail(Args...);
|
||||
|
||||
}
|
||||
|
||||
#if !USING_AK_GLOBALLY || defined(AK_DONT_REPLACE_STD)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue