mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 03:17:53 +00:00
Fix an example.
This commit is contained in:
parent
d3998a2a1f
commit
8b60a804ba
@ -24,7 +24,7 @@ This prints "Hello, world!" to stdout::
|
||||
|
||||
fmt::Print("Hello, {0}!") << "world";
|
||||
|
||||
Arguments are accessed by position and arguments' indices can be repeated:
|
||||
Arguments are accessed by position and arguments' indices can be repeated::
|
||||
|
||||
std::string s = str(fmt::Format("{0}{1}{0}") << "abra" << "cad");
|
||||
// s == "abracadabra"
|
||||
|
Loading…
Reference in New Issue
Block a user