Skip to content

Commit f30f1fd

Browse files
authored
Document formatter specializations provided by base.h
1 parent f4b256c commit f30f1fd

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Diff for: doc/api.rst

+9-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,15 @@ Base API
3333
for ``char``/UTF-8 with C++20 compile-time checks. It has minimal include
3434
dependencies for better compile times. This header is only beneficial when
3535
using {fmt} as a library (the default) and not in the header-only mode.
36-
It also provides ``formatter`` specializations for built-in and string types.
36+
It also provides ``formatter`` specializations for the following fundamental
37+
and string types:
38+
39+
* ``int``, ``unsigned``, ``long long``, ``unsigned long long``
40+
* ``float``, ``double``, ``long double``
41+
* ``bool``
42+
* ``char``
43+
* ``const char*``, ``fmt::string_view``
44+
* ``const void*``
3745

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

0 commit comments

Comments
 (0)