mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 06:21:00 +00:00
Update syntax.rst
This commit is contained in:
parent
e802cf14e3
commit
5b3f9eab94
@ -36,6 +36,8 @@ If the numerical arg_ids in a format string are 0, 1, 2, ... in sequence,
|
|||||||
they can all be omitted (not just some) and the numbers 0, 1, 2, ... will be
|
they can all be omitted (not just some) and the numbers 0, 1, 2, ... will be
|
||||||
automatically inserted in that order.
|
automatically inserted in that order.
|
||||||
|
|
||||||
|
Named arguments can be referred to by their names or indices.
|
||||||
|
|
||||||
Some simple format string examples::
|
Some simple format string examples::
|
||||||
|
|
||||||
"First, thou shalt count to {0}" // References the first argument
|
"First, thou shalt count to {0}" // References the first argument
|
||||||
|
Loading…
Reference in New Issue
Block a user