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
4e8d215606
commit
d22f00d7e4
@ -37,10 +37,10 @@
|
|||||||
* Disabled automatic ``std::ostream`` insertion operator (``operator<<``)
|
* Disabled automatic ``std::ostream`` insertion operator (``operator<<``)
|
||||||
discovery when ``fmt/ostream.h`` is included to prevent ODR violations.
|
discovery when ``fmt/ostream.h`` is included to prevent ODR violations.
|
||||||
You can get the old behavior by defining ``FMT_DEPRECATED_OSTREAM`` but this
|
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
|
will be removed in the next major release. Use ``fmt::streamed`` or
|
||||||
``fmt::ostream_formatter`` to enable formatting via ``std::ostream``.
|
``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``.
|
specializations that perform formatting via ``std::ostream``.
|
||||||
For example (`godbolt <https://godbolt.org/z/5sEc5qMsf>`__):
|
For example (`godbolt <https://godbolt.org/z/5sEc5qMsf>`__):
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user