mirror of
https://github.com/fmtlib/fmt.git
synced 2026-04-30 19:09:22 +08:00
Tweak docs
This commit is contained in:
parent
4e1b170b44
commit
0f133953fb
@ -20,11 +20,11 @@ The {fmt} library API consists of the following components:
|
|||||||
All functions and types provided by the library reside in namespace `fmt`
|
All functions and types provided by the library reside in namespace `fmt`
|
||||||
and macros have prefix `FMT_`.
|
and macros have prefix `FMT_`.
|
||||||
|
|
||||||
## C++ Modules API
|
## C++ Module API
|
||||||
|
|
||||||
With the new C++ Modules API, all the headers listed above do not need to
|
With the C++ module API, the headers listed above don't need to be included.
|
||||||
be explicitly #included. We can instead use the `import fmt;` statement instead.
|
You can use the `import fmt;` statement instead. All other functionality,
|
||||||
All other functionality, listed below remains the same.
|
listed below, remains the same.
|
||||||
|
|
||||||
## Base API
|
## Base API
|
||||||
|
|
||||||
|
|||||||
@ -9,7 +9,7 @@ with CMake, while the [Build Systems](#build-systems) section covers the rest.
|
|||||||
## CMake
|
## CMake
|
||||||
|
|
||||||
{fmt} provides three CMake targets: `fmt::fmt` for the standard compiled library,
|
{fmt} provides three CMake targets: `fmt::fmt` for the standard compiled library,
|
||||||
`fmt::fmt-module` for the C++ modules library and `fmt::fmt-header-only` for the
|
`fmt::fmt-module` for the C++ module library and `fmt::fmt-header-only` for the
|
||||||
header-only library. It is recommended to use the compiled library or the module
|
header-only library. It is recommended to use the compiled library or the module
|
||||||
library for improved build times.
|
library for improved build times.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user