Add fmt::bin to the docs. Separate integer type specifiers because the list of types is too long.

This commit is contained in:
Victor Zverovich 2013-11-19 08:57:15 -08:00
parent a1bbd09548
commit 04c2b05340

View File

@ -29,6 +29,8 @@ String Formatting API
Write API Write API
--------- ---------
.. doxygenfunction:: fmt::bin
.. doxygenfunction:: fmt::oct .. doxygenfunction:: fmt::oct
.. doxygenfunction:: fmt::hex .. doxygenfunction:: fmt::hex
@ -115,7 +117,8 @@ The general form of a *standard format specifier* is:
sign: "+" | "-" | " " sign: "+" | "-" | " "
width: `integer` width: `integer`
precision: `integer` | "{" `arg_index` "}" precision: `integer` | "{" `arg_index` "}"
type: "b" | "c" | "d" | "e" | "E" | "f" | "F" | "g" | "G" | "o" | "p" | s" | "x" | "X" type: `int_type` | "c" | "e" | "E" | "f" | "F" | "g" | "G" | "p" | s"
int_type: "b" | "B" | "d" | "o" | "x" | "X"
The *fill* character can be any character other than '{' or '}'. The presence The *fill* character can be any character other than '{' or '}'. The presence
of a fill character is signaled by the character following it, which must be of a fill character is signaled by the character following it, which must be