Fix an example.
This commit is contained in:
parent
6323d30247
commit
c31eaef1b0
2
format.h
2
format.h
@ -867,7 +867,7 @@ void FormatCustomArg(
|
|||||||
|
|
||||||
Formatter out;
|
Formatter out;
|
||||||
out("Current point:\n");
|
out("Current point:\n");
|
||||||
out("(-{:+f}, {:+f})") << 3.14 << -3.14;
|
out("({:+f}, {:+f})") << -3.14 << 3.14;
|
||||||
|
|
||||||
This will populate the buffer of the ``out`` object with the following
|
This will populate the buffer of the ``out`` object with the following
|
||||||
output:
|
output:
|
||||||
|
Loading…
Reference in New Issue
Block a user