mirror of
https://github.com/fmtlib/fmt.git
synced 2025-01-26 12:35:32 +00:00
Capitalize titles
This commit is contained in:
parent
91bb3aaf06
commit
28c187bcd7
12
doc/api.rst
12
doc/api.rst
@ -218,7 +218,7 @@ Utilities
|
||||
:protected-members:
|
||||
:members:
|
||||
|
||||
System errors
|
||||
System Errors
|
||||
-------------
|
||||
|
||||
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:
|
||||
|
||||
Custom allocators
|
||||
Custom 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``
|
||||
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
|
||||
@ -316,7 +316,7 @@ custom argument formatter class::
|
||||
|
||||
.. _chrono-api:
|
||||
|
||||
Date and time formatting
|
||||
Date and Time Formatting
|
||||
========================
|
||||
|
||||
The library supports `strftime
|
||||
@ -334,7 +334,7 @@ The format string syntax is described in the documentation of
|
||||
|
||||
.. _ostream-api:
|
||||
|
||||
``std::ostream`` support
|
||||
``std::ostream`` Support
|
||||
========================
|
||||
|
||||
``fmt/ostream.h`` provides ``std::ostream`` support including formatting of
|
||||
@ -359,7 +359,7 @@ user-defined types that have overloaded ``operator<<``::
|
||||
|
||||
.. _printf-api:
|
||||
|
||||
``printf`` formatting
|
||||
``printf`` Formatting
|
||||
=====================
|
||||
|
||||
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
|
||||
needed.
|
||||
|
||||
Compact binary code
|
||||
Compact Binary Code
|
||||
-------------------
|
||||
|
||||
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:
|
||||
|
||||
Format examples
|
||||
Format Examples
|
||||
===============
|
||||
|
||||
This section contains examples of the format syntax and comparison with
|
||||
|
@ -17,7 +17,7 @@ before other includes in :file:`format.cc`.
|
||||
|
||||
.. _building:
|
||||
|
||||
Building the library
|
||||
Building the Library
|
||||
====================
|
||||
|
||||
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)
|
||||
|
||||
Building the documentation
|
||||
Building the Documentation
|
||||
==========================
|
||||
|
||||
To build the documentation you need the following software installed on your
|
||||
|
Loading…
x
Reference in New Issue
Block a user