mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-26 09:28:21 +00:00
Update ChangeLog.rst
This commit is contained in:
parent
4822044dc9
commit
def5d983de
@ -1,6 +1,22 @@
|
|||||||
2.0.0 - TBD
|
2.0.0 - TBD
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
|
* [Breaking] Changed default ``bool`` format to textual, "true" or "false":
|
||||||
|
|
||||||
|
.. code:: c++
|
||||||
|
|
||||||
|
fmt::print("{}", true); // prints "true"
|
||||||
|
|
||||||
|
To print ``bool`` as a number use numeric format specifier such as ``d``:
|
||||||
|
|
||||||
|
.. code:: c++
|
||||||
|
|
||||||
|
fmt::print("{:d}", true); // prints "1"
|
||||||
|
|
||||||
|
* Improved support for custom character types
|
||||||
|
(`#171 <https://github.com/cppformat/cppformat/issues/171>`_).
|
||||||
|
Thanks to `@alfps (Alf P. Steinbach) <https://github.com/alfps>`_.
|
||||||
|
|
||||||
* Placed the anonymous namespace within ``fmt`` namespace for the header-only
|
* Placed the anonymous namespace within ``fmt`` namespace for the header-only
|
||||||
configuration
|
configuration
|
||||||
(`#171 <https://github.com/cppformat/cppformat/issues/171>`_).
|
(`#171 <https://github.com/cppformat/cppformat/issues/171>`_).
|
||||||
|
Loading…
Reference in New Issue
Block a user