Update api.md

This commit is contained in:
Victor Zverovich 2024-06-11 12:27:12 -07:00 committed by GitHub
parent a5c1b5d440
commit 28673d9699
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -261,7 +261,7 @@ disallowed.
::: format_context
### Compile-Time Format String Checks
### Compile-Time Checks
Compile-time format string checks are enabled by default on compilers
that support C++20 `consteval`. On older compilers you can use the
@ -417,7 +417,7 @@ parameter to avoid the expensive `<locale>` include.
::: formatted_size(const Locale&, format_string<T...>, T&&...)
<a id="legacy-checks"></a>
### Legacy Compile-Time Format String Checks
### Legacy Compile-Time Checks
`FMT_STRING` enables compile-time checks on older compilers. It requires
C++14 or later and is a no-op in C++11.