This commit is contained in:
Victor Zverovich
2018-05-16 08:26:55 -07:00
parent 8c2557710d
commit 728e4f5a8d
4 changed files with 21 additions and 26 deletions
+10
View File
@@ -63,6 +63,16 @@
std::vector<char> out;
fmt::format_to(std::back_inserter(out), "{}", 42);
* Added the `formatted_size
<http://fmtlib.net/dev/api.html#output-iterator-support>`_ function for
computing output size:
.. code:: c++
#include <fmt/format.h>
auto size = fmt::formatted_size("{}", 12345); // size == 5
* Improved compile times by reducing dependencies on standard headers and
providing a lightweight `core API <http://fmtlib.net/dev/api.html#core-api>`_: