Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
fmt
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
fmt
Commits
8d89e56d
Commit
8d89e56d
authored
Dec 18, 2014
by
Victor Zverovich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set primary domain to cpp
parent
fb12cfd1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
6 deletions
+8
-6
doc/conf.py
doc/conf.py
+2
-0
doc/reference.rst
doc/reference.rst
+1
-1
format.h
format.h
+5
-5
No files found.
doc/conf.py
View file @
8d89e56d
...
@@ -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 = []
...
...
doc/reference.rst
View file @
8d89e56d
...
@@ -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
:c
pp:c
lass:`fmt::BasicMemoryWriter`::
:class:`fmt::BasicMemoryWriter`::
typedef fmt::BasicMemoryWriter<char, CustomAllocator> CustomMemoryWriter;
typedef fmt::BasicMemoryWriter<char, CustomAllocator> CustomMemoryWriter;
...
...
format.h
View file @
8d89e56d
...
@@ -1403,7 +1403,7 @@ class SystemError : public internal::RuntimeError {
...
@@ -1403,7 +1403,7 @@ class SystemError : public internal::RuntimeError {
public:
public:
/**
/**
\rst
\rst
Constructs a :c
pp:c
lass:`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 :c
pp:c
lass:`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.
o
f the other o
bject 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 :c
pp:c
lass:`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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment