Update changelog

This commit is contained in:
Victor Zverovich 2022-07-04 09:01:56 -07:00
parent 4e8d215606
commit d22f00d7e4

View File

@ -37,10 +37,10 @@
* Disabled automatic ``std::ostream`` insertion operator (``operator<<``)
discovery when ``fmt/ostream.h`` is included to prevent ODR violations.
You can get the old behavior by defining ``FMT_DEPRECATED_OSTREAM`` but this
will be removed in the next major release. You can use ``fmt::streamed`` or
``fmt::ostream_formatter`` to enable formatting via ``std::ostream``.
will be removed in the next major release. Use ``fmt::streamed`` or
``fmt::ostream_formatter`` to enable formatting via ``std::ostream`` instead.
* Added ``ostream_formatter`` that can be used to write ``formatter``
* Added ``fmt::ostream_formatter`` that can be used to write ``formatter``
specializations that perform formatting via ``std::ostream``.
For example (`godbolt <https://godbolt.org/z/5sEc5qMsf>`__):