mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-26 09:28:21 +00:00
Update syntax.rst
This commit is contained in:
parent
f9c97de46b
commit
cabce31f45
@ -35,6 +35,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