Commit 27f4cdd5 authored by Victor Zverovich's avatar Victor Zverovich

Update changelog

parent 70d61a0a
8.0.0 - TBD 8.0.0 - TBD
----------- -----------
* Enabled compile-time check by default. For example * Enabled compile-time format string check by default.
For example (`godbolt <https://godbolt.org/z/sMxcohGjz>`__):
.. code:: c++ .. code:: c++
...@@ -15,6 +16,12 @@ ...@@ -15,6 +16,12 @@
(gcc 10+, clang 11+) because ``d`` is not a valid format specifier for a (gcc 10+, clang 11+) because ``d`` is not a valid format specifier for a
string. string.
To pass a runtime string wrap it in ``fmt::runtime``:
.. code:: c++
fmt::print(fmt::runtime("{:d}"), "I am not a number");
* Added compile-time formatting * Added compile-time formatting
(`#2019 <https://github.com/fmtlib/fmt/pull/2019>`_, (`#2019 <https://github.com/fmtlib/fmt/pull/2019>`_,
`#2044 <https://github.com/fmtlib/fmt/pull/2044>`_, `#2044 <https://github.com/fmtlib/fmt/pull/2044>`_,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment