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
7413239f
Commit
7413239f
authored
Sep 04, 2017
by
Victor Zverovich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary qualification
parent
af00e4f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
fmt/format.h
fmt/format.h
+2
-3
No files found.
fmt/format.h
View file @
7413239f
...
...
@@ -624,7 +624,6 @@ inline std::basic_string<Char> to_string(const basic_buffer<Char>& buffer) {
The output can be converted to an ``std::string`` with ``to_string(out)``.
\endrst
*/
//
template
<
typename
T
,
std
::
size_t
SIZE
=
internal
::
INLINE_BUFFER_SIZE
,
typename
Allocator
=
std
::
allocator
<
T
>
>
class
basic_memory_buffer
:
private
Allocator
,
public
basic_buffer
<
T
>
{
...
...
@@ -990,13 +989,13 @@ struct no_thousands_sep {
template
<
typename
Char
>
class
add_thousands_sep
{
private:
fmt
::
basic_string_view
<
Char
>
sep_
;
basic_string_view
<
Char
>
sep_
;
// Index of a decimal digit with the least significant digit having index 0.
unsigned
digit_index_
;
public:
explicit
add_thousands_sep
(
fmt
::
basic_string_view
<
Char
>
sep
)
explicit
add_thousands_sep
(
basic_string_view
<
Char
>
sep
)
:
sep_
(
sep
),
digit_index_
(
0
)
{}
void
operator
()(
Char
*&
buffer
)
{
...
...
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