mirror of
https://github.com/fmtlib/fmt.git
synced 2025-01-02 12:06:11 +00:00
Update api.md
This commit is contained in:
parent
a5c1b5d440
commit
28673d9699
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user