mirror of
https://github.com/fmtlib/fmt.git
synced 2025-01-27 06:35:37 +00:00
Improve docs
This commit is contained in:
parent
4fe6129d6c
commit
58fb782396
@ -182,6 +182,11 @@ functions and locale support.
|
||||
Formatting User-defined Types
|
||||
-----------------------------
|
||||
|
||||
The {fmt} library provides formatters for many standard C++ types.
|
||||
See :ref:`fmt/ranges.h <ranges-api>` for ranges and tuples including standard
|
||||
containers such as ``std::vector`` and :ref:`fmt/chrono.h <chrono-api>` for date
|
||||
and time formatting.
|
||||
|
||||
To make a user-defined type formattable, specialize the ``formatter<T>`` struct
|
||||
template and implement ``parse`` and ``format`` methods::
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user