Commit 25ff2efc authored by Victor Zverovich's avatar Victor Zverovich

Update changelog

parent 9393fe26
...@@ -24,16 +24,16 @@ ...@@ -24,16 +24,16 @@
prints "value = 4,2". prints "value = 4,2".
* Introduced ``fmt::prepare`` function that allows precompilation of format * Introduced the ``fmt::compile`` function that does format string compilation:
strings:
.. code:: c++ .. code:: c++
auto f = fmt::prepare<int>("{}"); #include <fmt/compile.h>
auto f = fmt::compile<int>("{}");
std::string s = f.format(42); // can be called multiple times to format std::string s = f.format(42); // can be called multiple times to format
// different values // different values
// s == "42"
This API is experimental and will likely change in the next minor release.
Thanks `@stryku (Mateusz Janek) <https://github.com/stryku>`_. Thanks `@stryku (Mateusz Janek) <https://github.com/stryku>`_.
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
Thanks Howard Hinnant. Thanks Howard Hinnant.
* Added `fmt::format` and `fmt::vformat` overloads that take `text_style` * Added ``fmt::format`` and ``fmt::vformat`` overloads that take ``text_style``
(`#993 <https://github.com/fmtlib/fmt/issues/993>`_, (`#993 <https://github.com/fmtlib/fmt/issues/993>`_,
`#994 <https://github.com/fmtlib/fmt/pull/994>`_): `#994 <https://github.com/fmtlib/fmt/pull/994>`_):
......
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