mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-12 22:20:05 +00:00
Document formatter specializations provided by base.h
This commit is contained in:
parent
f4b256c667
commit
f30f1fd514
10
doc/api.rst
10
doc/api.rst
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user