mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-04 17:26:42 +00:00
Fix docs
This commit is contained in:
parent
fd41110d38
commit
9ff0f3a7d6
@ -473,7 +473,7 @@ Standard Library Types Formatting
|
|||||||
|
|
||||||
``fmt/std.h`` provides formatters for:
|
``fmt/std.h`` provides formatters for:
|
||||||
|
|
||||||
* `std::filesystem::path <std::filesystem::path>`_
|
* `std::filesystem::path <https://en.cppreference.com/w/cpp/filesystem/path>`_
|
||||||
* `std::thread::id <https://en.cppreference.com/w/cpp/thread/thread/id>`_
|
* `std::thread::id <https://en.cppreference.com/w/cpp/thread/thread/id>`_
|
||||||
* `std::monostate <https://en.cppreference.com/w/cpp/utility/variant/monostate>`_
|
* `std::monostate <https://en.cppreference.com/w/cpp/utility/variant/monostate>`_
|
||||||
* `std::variant <https://en.cppreference.com/w/cpp/utility/variant/variant>`_
|
* `std::variant <https://en.cppreference.com/w/cpp/utility/variant/variant>`_
|
||||||
|
@ -366,7 +366,7 @@ By default, a range of characters or strings is printed escaped and quoted. But
|
|||||||
if any `underlying_spec` is provided (even if it is empty), then the characters
|
if any `underlying_spec` is provided (even if it is empty), then the characters
|
||||||
or strings are printed according to the provided specification.
|
or strings are printed according to the provided specification.
|
||||||
|
|
||||||
Examples:
|
Examples::
|
||||||
|
|
||||||
fmt::format("{}", std::vector{10, 20, 30});
|
fmt::format("{}", std::vector{10, 20, 30});
|
||||||
// Result: [10, 20, 30]
|
// Result: [10, 20, 30]
|
||||||
|
Loading…
Reference in New Issue
Block a user