mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 06:21:00 +00:00
Update changelog
This commit is contained in:
parent
70d61a0ae3
commit
27f4cdd586
@ -1,7 +1,8 @@
|
||||
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++
|
||||
|
||||
@ -15,6 +16,12 @@
|
||||
(gcc 10+, clang 11+) because ``d`` is not a valid format specifier for a
|
||||
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
|
||||
(`#2019 <https://github.com/fmtlib/fmt/pull/2019>`_,
|
||||
`#2044 <https://github.com/fmtlib/fmt/pull/2044>`_,
|
||||
|
Loading…
Reference in New Issue
Block a user