We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2b03fa commit 7a0d301Copy full SHA for 7a0d301
README.rst
@@ -143,10 +143,10 @@ Output::
143
144
.. code:: c++
145
146
- std::string s = fmt::format(FMT_STRING("{:d}"), "I am not a number");
+ std::string s = fmt::format("{:d}", "I am not a number");
147
148
-This gives a compile-time error because ``d`` is an invalid format specifier for
149
-a string.
+This gives a compile-time error in C++20 because ``d`` is an invalid format
+specifier for a string.
150
151
**Write a file from a single thread**
152
0 commit comments