Set primary domain to cpp
This commit is contained in:
parent
fb12cfd196
commit
8d89e56d2c
@ -106,6 +106,8 @@ pygments_style = 'sphinx'
|
|||||||
|
|
||||||
highlight_language = 'c++'
|
highlight_language = 'c++'
|
||||||
|
|
||||||
|
primary_domain = 'cpp'
|
||||||
|
|
||||||
# A list of ignored prefixes for module index sorting.
|
# A list of ignored prefixes for module index sorting.
|
||||||
#modindex_common_prefix = []
|
#modindex_common_prefix = []
|
||||||
|
|
||||||
|
@ -93,7 +93,7 @@ Custom allocators
|
|||||||
|
|
||||||
The C++ Format library supports custom dynamic memory allocators.
|
The C++ Format library supports custom dynamic memory allocators.
|
||||||
A custom allocator class can be specified as a template argument to
|
A custom allocator class can be specified as a template argument to
|
||||||
:cpp:class:`fmt::BasicMemoryWriter`::
|
:class:`fmt::BasicMemoryWriter`::
|
||||||
|
|
||||||
typedef fmt::BasicMemoryWriter<char, CustomAllocator> CustomMemoryWriter;
|
typedef fmt::BasicMemoryWriter<char, CustomAllocator> CustomMemoryWriter;
|
||||||
|
|
||||||
|
10
format.h
10
format.h
@ -1403,7 +1403,7 @@ class SystemError : public internal::RuntimeError {
|
|||||||
public:
|
public:
|
||||||
/**
|
/**
|
||||||
\rst
|
\rst
|
||||||
Constructs a :cpp:class:`fmt::SystemError` object with the description
|
Constructs a :class:`fmt::SystemError` object with the description
|
||||||
of the form "*<message>*: *<system-message>*", where *<message>* is the
|
of the form "*<message>*: *<system-message>*", where *<message>* is the
|
||||||
formatted message and *<system-message>* is the system message corresponding
|
formatted message and *<system-message>* is the system message corresponding
|
||||||
to the error code.
|
to the error code.
|
||||||
@ -1422,7 +1422,7 @@ class SystemError : public internal::RuntimeError {
|
|||||||
\rst
|
\rst
|
||||||
This template provides operations for formatting and writing data into
|
This template provides operations for formatting and writing data into
|
||||||
a character stream. The output is stored in a buffer provided by a subclass
|
a character stream. The output is stored in a buffer provided by a subclass
|
||||||
such as :cpp:class:`fmt::BasicMemoryWriter`.
|
such as :class:`fmt::BasicMemoryWriter`.
|
||||||
|
|
||||||
You can use one of the following typedefs for common character types:
|
You can use one of the following typedefs for common character types:
|
||||||
|
|
||||||
@ -2041,8 +2041,8 @@ class BasicMemoryWriter : public BasicWriter<Char> {
|
|||||||
|
|
||||||
#if FMT_USE_RVALUE_REFERENCES
|
#if FMT_USE_RVALUE_REFERENCES
|
||||||
/**
|
/**
|
||||||
Constructs a ``BasicMemoryWriter`` object moving the content of the other
|
Constructs a :class:`fmt::BasicMemoryWriter` object moving the content
|
||||||
object to it.
|
of the other object to it.
|
||||||
*/
|
*/
|
||||||
BasicMemoryWriter(BasicMemoryWriter &&other)
|
BasicMemoryWriter(BasicMemoryWriter &&other)
|
||||||
: BasicWriter<Char>(buffer_), buffer_(std::move(other.buffer_)) {
|
: BasicWriter<Char>(buffer_), buffer_(std::move(other.buffer_)) {
|
||||||
@ -2090,7 +2090,7 @@ class WindowsError : public SystemError {
|
|||||||
public:
|
public:
|
||||||
/**
|
/**
|
||||||
\rst
|
\rst
|
||||||
Constructs a :cpp:class:`fmt::WindowsError` object with the description
|
Constructs a :class:`fmt::WindowsError` object with the description
|
||||||
of the form "*<message>*: *<system-message>*", where *<message>* is the
|
of the form "*<message>*: *<system-message>*", where *<message>* is the
|
||||||
formatted message and *<system-message>* is the system message corresponding
|
formatted message and *<system-message>* is the system message corresponding
|
||||||
to the error code.
|
to the error code.
|
||||||
|
Loading…
Reference in New Issue
Block a user