From 58fb78239605b436d3c65d4dd41aa682cdb2b23a Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Thu, 13 Jan 2022 14:57:17 -0800 Subject: [PATCH] Improve docs --- doc/api.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/api.rst b/doc/api.rst index 93fb3faf..c459e440 100644 --- a/doc/api.rst +++ b/doc/api.rst @@ -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 ` for ranges and tuples including standard +containers such as ``std::vector`` and :ref:`fmt/chrono.h ` for date +and time formatting. + To make a user-defined type formattable, specialize the ``formatter`` struct template and implement ``parse`` and ``format`` methods::