Commit 8d89e56d authored by Victor Zverovich's avatar Victor Zverovich

Set primary domain to cpp

parent fb12cfd1
...@@ -106,6 +106,8 @@ pygments_style = 'sphinx' ...@@ -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 ...@@ -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;
......
...@@ -1403,7 +1403,7 @@ class SystemError : public internal::RuntimeError { ...@@ -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 { ...@@ -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> { ...@@ -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 { ...@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment