mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:07:34 +00:00
AK: Format the contents of NNRP<T> if T is formattable
This commit is contained in:
parent
ff038f306a
commit
08fc42002c
2 changed files with 12 additions and 0 deletions
|
@ -39,6 +39,9 @@ inline constexpr bool HasFormatter = true;
|
|||
template<typename T>
|
||||
inline constexpr bool HasFormatter<T, typename Formatter<T>::__no_formatter_defined> = false;
|
||||
|
||||
template<typename T>
|
||||
concept Formattable = HasFormatter<T>;
|
||||
|
||||
constexpr size_t max_format_arguments = 256;
|
||||
|
||||
struct TypeErasedParameter {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue