Skip to content

Commit 77ef2ea

Browse files
committed
Add additional information to formatting docs
1 parent ffa9879 commit 77ef2ea

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/modules/ROOT/pages/format.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ https://www.boost.org/LICENSE_1_0.txt
88
= Formating support
99
:idprefix: format_
1010

11+
Boost.Decimal supports formatting with both `<format>` (when C++20 and header are both available) and `<fmt/format.h>`.
12+
1113
[#std_format]
1214
== `<format>`
1315

@@ -69,8 +71,8 @@ int main()
6971
[#fmt_format]
7072
== `<fmt/format.h>`
7173

72-
Support for fmtlib is available as long as `<fmt/format.h>` is present.
73-
All of the above information on modifiers is the same for fmtlib
74+
Support for `{fmt}` is available as long as `<fmt/format.h>` is present.
75+
All of the above information on modifiers is the same for fmtlib, just in a different namespace (i.e. `fmt::` instead of `std::`).
7476

7577
[source, c++]
7678
----

0 commit comments

Comments
 (0)