cleanup doc string
This commit is contained in:
parent
b61537a9df
commit
d539f76da6
11
doc/api.rst
11
doc/api.rst
@ -165,13 +165,10 @@ functions in their ``formatter`` specializations.
|
|||||||
|
|
||||||
.. _udt:
|
.. _udt:
|
||||||
|
|
||||||
Enforcing Compile-time Format Checks
|
To force the use of compile-time checks, define the preprocessor variable
|
||||||
------------------------------------
|
``FMT_ENFORCE_COMPILE_STRING``. When set, functions accepting ``FMT_STRING``
|
||||||
To force the use of Compile-time checks, compile with
|
will fail to compile with regular strings. Runtime-checked
|
||||||
``FMT_ENFORCE_COMPILE_STRING`` defined. When this preprocessor definition is
|
formatting is still possible using ``fmt::vformat``, ``fmt::vprint``, etc.
|
||||||
given, functions accepting ``FMT_STRING`` will fail to compile with regular
|
|
||||||
strings. When this is set, runtime-checked formatting is still possible using
|
|
||||||
``fmt::vformat``, ``fmt::vprint``, etc.
|
|
||||||
|
|
||||||
Formatting User-defined Types
|
Formatting User-defined Types
|
||||||
-----------------------------
|
-----------------------------
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user