mirror of
https://github.com/fmtlib/fmt.git
synced 2025-08-01 19:54:46 +02:00
Update api.md
This commit is contained in:
@@ -261,7 +261,7 @@ disallowed.
|
|||||||
|
|
||||||
::: format_context
|
::: format_context
|
||||||
|
|
||||||
### Compile-Time Format String Checks
|
### Compile-Time Checks
|
||||||
|
|
||||||
Compile-time format string checks are enabled by default on compilers
|
Compile-time format string checks are enabled by default on compilers
|
||||||
that support C++20 `consteval`. On older compilers you can use the
|
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&&...)
|
::: formatted_size(const Locale&, format_string<T...>, T&&...)
|
||||||
|
|
||||||
<a id="legacy-checks"></a>
|
<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
|
`FMT_STRING` enables compile-time checks on older compilers. It requires
|
||||||
C++14 or later and is a no-op in C++11.
|
C++14 or later and is a no-op in C++11.
|
||||||
|
Reference in New Issue
Block a user