Make PrintfFormatter public (#335, #360)

This commit is contained in:
Victor Zverovich
2016-07-20 08:09:14 -07:00
parent fa0f870ac9
commit d4ddaaf2b1
4 changed files with 41 additions and 22 deletions
+9 -3
View File
@@ -125,12 +125,15 @@ custom argument formatter class::
.. doxygenclass:: fmt::ArgFormatter
:members:
Printf formatting functions
---------------------------
Printf formatting
-----------------
The header ``fmt/printf.h`` provides ``printf``-like formatting functionality.
The following functions use `printf format string syntax
<http://pubs.opengroup.org/onlinepubs/009695399/functions/fprintf.html>`_ with
a POSIX extension for positional arguments.
the POSIX extension for positional arguments. Unlike their standard
counterparts, the ``fmt`` functions are type-safe and throw an exception if an
argument type doesn't match its format specification.
.. doxygenfunction:: printf(CStringRef, ArgList)
@@ -138,6 +141,9 @@ a POSIX extension for positional arguments.
.. doxygenfunction:: sprintf(CStringRef, ArgList)
.. doxygenclass:: fmt::PrintfFormatter
:members:
Write API
=========