Update api.rst

This commit is contained in:
Victor Zverovich 2020-12-24 07:09:49 -08:00 committed by GitHub
parent 1256541d7a
commit a750bf3ac6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -163,13 +163,13 @@ functions in their ``formatter`` specializations.
.. doxygendefine:: FMT_STRING
.. _udt:
To force the use of compile-time checks, define the preprocessor variable
``FMT_ENFORCE_COMPILE_STRING``. When set, functions accepting ``FMT_STRING``
will fail to compile with regular strings. Runtime-checked
formatting is still possible using ``fmt::vformat``, ``fmt::vprint``, etc.
.. _udt:
Formatting User-defined Types
-----------------------------