Skip to content

Commit

Permalink
Update api.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut authored Dec 24, 2020
1 parent 1256541 commit a750bf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
-----------------------------

Expand Down

0 comments on commit a750bf3

Please sign in to comment.