mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-30 02:37:36 +02:00
Capitalize titles
This commit is contained in:
12
doc/api.rst
12
doc/api.rst
@ -218,7 +218,7 @@ Utilities
|
|||||||
:protected-members:
|
:protected-members:
|
||||||
:members:
|
:members:
|
||||||
|
|
||||||
System errors
|
System Errors
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
fmt does not use ``errno`` to communicate errors to the user, but it may call
|
fmt does not use ``errno`` to communicate errors to the user, but it may call
|
||||||
@ -235,7 +235,7 @@ the value of ``errno`` being preserved by library functions.
|
|||||||
|
|
||||||
.. _formatstrings:
|
.. _formatstrings:
|
||||||
|
|
||||||
Custom allocators
|
Custom Allocators
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
The {fmt} library supports custom dynamic memory allocators.
|
The {fmt} library supports custom dynamic memory allocators.
|
||||||
@ -270,7 +270,7 @@ arguments, the container that stores pointers to them will be allocated using
|
|||||||
the default allocator. Also floating-point formatting falls back on ``sprintf``
|
the default allocator. Also floating-point formatting falls back on ``sprintf``
|
||||||
which may do allocations.
|
which may do allocations.
|
||||||
|
|
||||||
Custom formatting of built-in types
|
Custom Formatting of Built-in Types
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
|
|
||||||
It is possible to change the way arguments are formatted by providing a
|
It is possible to change the way arguments are formatted by providing a
|
||||||
@ -316,7 +316,7 @@ custom argument formatter class::
|
|||||||
|
|
||||||
.. _chrono-api:
|
.. _chrono-api:
|
||||||
|
|
||||||
Date and time formatting
|
Date and Time Formatting
|
||||||
========================
|
========================
|
||||||
|
|
||||||
The library supports `strftime
|
The library supports `strftime
|
||||||
@ -334,7 +334,7 @@ The format string syntax is described in the documentation of
|
|||||||
|
|
||||||
.. _ostream-api:
|
.. _ostream-api:
|
||||||
|
|
||||||
``std::ostream`` support
|
``std::ostream`` Support
|
||||||
========================
|
========================
|
||||||
|
|
||||||
``fmt/ostream.h`` provides ``std::ostream`` support including formatting of
|
``fmt/ostream.h`` provides ``std::ostream`` support including formatting of
|
||||||
@ -359,7 +359,7 @@ user-defined types that have overloaded ``operator<<``::
|
|||||||
|
|
||||||
.. _printf-api:
|
.. _printf-api:
|
||||||
|
|
||||||
``printf`` formatting
|
``printf`` Formatting
|
||||||
=====================
|
=====================
|
||||||
|
|
||||||
The header ``fmt/printf.h`` provides ``printf``-like formatting functionality.
|
The header ``fmt/printf.h`` provides ``printf``-like formatting functionality.
|
||||||
|
@ -130,7 +130,7 @@ its numeric value being written to the stream (i.e. 1070 instead of letter 'ю'
|
|||||||
which is represented by ``L'\x42e'`` if we use Unicode) which is rarely what is
|
which is represented by ``L'\x42e'`` if we use Unicode) which is rarely what is
|
||||||
needed.
|
needed.
|
||||||
|
|
||||||
Compact binary code
|
Compact Binary Code
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
The library is designed to produce compact per-call compiled code. For example
|
The library is designed to produce compact per-call compiled code. For example
|
||||||
|
@ -305,7 +305,7 @@ The available presentation types for pointers are:
|
|||||||
|
|
||||||
.. _formatexamples:
|
.. _formatexamples:
|
||||||
|
|
||||||
Format examples
|
Format Examples
|
||||||
===============
|
===============
|
||||||
|
|
||||||
This section contains examples of the format syntax and comparison with
|
This section contains examples of the format syntax and comparison with
|
||||||
|
@ -17,7 +17,7 @@ before other includes in :file:`format.cc`.
|
|||||||
|
|
||||||
.. _building:
|
.. _building:
|
||||||
|
|
||||||
Building the library
|
Building the Library
|
||||||
====================
|
====================
|
||||||
|
|
||||||
The included `CMake build script`__ can be used to build the fmt
|
The included `CMake build script`__ can be used to build the fmt
|
||||||
@ -90,7 +90,7 @@ Setting up your target to use a header-only version of ``fmt`` is equaly easy::
|
|||||||
|
|
||||||
target_link_libraries(<your-target> PRIVATE fmt-header-only)
|
target_link_libraries(<your-target> PRIVATE fmt-header-only)
|
||||||
|
|
||||||
Building the documentation
|
Building the Documentation
|
||||||
==========================
|
==========================
|
||||||
|
|
||||||
To build the documentation you need the following software installed on your
|
To build the documentation you need the following software installed on your
|
||||||
|
Reference in New Issue
Block a user