Skip to content

Commit

Permalink
Document formatter specializations provided by base.h
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut authored Apr 22, 2024
1 parent f4b256c commit f30f1fd
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion doc/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,15 @@ Base API
for ``char``/UTF-8 with C++20 compile-time checks. It has minimal include
dependencies for better compile times. This header is only beneficial when
using {fmt} as a library (the default) and not in the header-only mode.
It also provides ``formatter`` specializations for built-in and string types.
It also provides ``formatter`` specializations for the following fundamental
and string types:

* ``int``, ``unsigned``, ``long long``, ``unsigned long long``
* ``float``, ``double``, ``long double``
* ``bool``
* ``char``
* ``const char*``, ``fmt::string_view``
* ``const void*``

The following functions use :ref:`format string syntax <syntax>`
similar to that of Python's `str.format
Expand Down

0 comments on commit f30f1fd

Please sign in to comment.