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
1d618840
Commit
1d618840
authored
Apr 22, 2018
by
Gabi Melman
Committed by
Victor Zverovich
Apr 21, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added optional INILINE_BUFFER_SIZE template param to BasicMemoryWriter (#716)
parent
bdab94ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
fmt/format.h
fmt/format.h
+2
-2
No files found.
fmt/format.h
View file @
1d618840
...
...
@@ -3320,10 +3320,10 @@ void BasicWriter<Char>::write_double(T value, const Spec &spec) {
accessed as a C string with ``out.c_str()``.
\endrst
*/
template
<
typename
Char
,
typename
Allocator
=
std
::
allocator
<
Char
>
>
template
<
typename
Char
,
typename
Allocator
=
std
::
allocator
<
Char
>
,
std
::
size_t
INLINE_BUFFER_SIZE
=
internal
::
INLINE_BUFFER_SIZE
>
class
BasicMemoryWriter
:
public
BasicWriter
<
Char
>
{
private:
internal
::
MemoryBuffer
<
Char
,
internal
::
INLINE_BUFFER_SIZE
,
Allocator
>
buffer_
;
internal
::
MemoryBuffer
<
Char
,
INLINE_BUFFER_SIZE
,
Allocator
>
buffer_
;
public:
explicit
BasicMemoryWriter
(
const
Allocator
&
alloc
=
Allocator
())
...
...
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