summaryrefslogtreecommitdiff
path: root/deps/fmt/README.rst
diff options
context:
space:
mode:
authorKargatum <dowlandtop@yandex.com>2022-02-03 04:39:10 +0700
committerGitHub <noreply@github.com>2022-02-02 22:39:10 +0100
commiteae15fa4742b81cea87408867f6a82b04fc3b769 (patch)
tree25c752fb256355b4c2d0a0cab912ccc3d336b5fc /deps/fmt/README.rst
parent48ad8b519bfe3759ce6d821939b4e2e6d4219714 (diff)
feat(Deps/Fmt): update to 8.1.1. Fix build with c++20 (#10489)
* feat(Deps/Fmt): update to 8.1.1 * FMT_CONSTEVAL
Diffstat (limited to 'deps/fmt/README.rst')
-rw-r--r--deps/fmt/README.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/deps/fmt/README.rst b/deps/fmt/README.rst
index 02c849c78f..394f28d97b 100644
--- a/deps/fmt/README.rst
+++ b/deps/fmt/README.rst
@@ -10,7 +10,7 @@
.. image:: https://github.com/fmtlib/fmt/workflows/windows/badge.svg
:target: https://github.com/fmtlib/fmt/actions?query=workflow%3Awindows
-.. image:: https://ci.appveyor.com/api/projects/status/ehjkiefde6gucy1v
+.. image:: https://ci.appveyor.com/api/projects/status/ehjkiefde6gucy1v?svg=true
:target: https://ci.appveyor.com/project/vitaut/fmt
.. image:: https://oss-fuzz-build-logs.storage.googleapis.com/badges/fmt.svg
@@ -143,10 +143,10 @@ Output::
.. code:: c++
- std::string s = fmt::format(FMT_STRING("{:d}"), "I am not a number");
+ std::string s = fmt::format("{:d}", "I am not a number");
-This gives a compile-time error because ``d`` is an invalid format specifier for
-a string.
+This gives a compile-time error in C++20 because ``d`` is an invalid format
+specifier for a string.
**Write a file from a single thread**
@@ -205,7 +205,7 @@ The above results were generated by building ``tinyformat_test.cpp`` on macOS
best of three runs. In the test, the format string ``"%0.10f:%04d:%+g:%s:%p:%c:%%\n"``
or equivalent is filled 2,000,000 times with output sent to ``/dev/null``; for
further details refer to the `source
-<https://github.com/fmtlib/format-benchmark/blob/master/tinyformat_test.cpp>`_.
+<https://github.com/fmtlib/format-benchmark/blob/master/src/tinyformat-test.cc>`_.
{fmt} is up to 20-30x faster than ``std::ostringstream`` and ``sprintf`` on
floating-point formatting (`dtoa-benchmark <https://github.com/fmtlib/dtoa-benchmark>`_)
@@ -469,7 +469,7 @@ Boost Format
This is a very powerful library which supports both ``printf``-like format
strings and positional arguments. Its main drawback is performance. According to
-various, benchmarks it is much slower than other methods considered here. Boost
+various benchmarks, it is much slower than other methods considered here. Boost
Format also has excessive build times and severe code bloat issues (see
`Benchmarks`_).