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
df1a3a14
Commit
df1a3a14
authored
Jul 03, 2019
by
Victor Zverovich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove null_terminating_iterator
parent
78dec87a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
9 deletions
+1
-9
include/fmt/format.h
include/fmt/format.h
+0
-5
include/fmt/prepare.h
include/fmt/prepare.h
+1
-4
No files found.
include/fmt/format.h
View file @
df1a3a14
...
...
@@ -451,11 +451,6 @@ inline Iterator& reserve(Iterator& it, std::size_t) {
return
it
;
}
template
<
typename
Char
>
class
null_terminating_iterator
;
template
<
typename
Char
>
FMT_CONSTEXPR_DECL
const
Char
*
pointer_from
(
null_terminating_iterator
<
Char
>
it
);
// An output iterator that counts the number of objects written to it and
// discards them.
template
<
typename
T
>
class
counting_iterator
{
...
...
include/fmt/prepare.h
View file @
df1a3a14
...
...
@@ -109,7 +109,7 @@ class format_preparation_handler : public internal::error_handler {
typedef
format_part
<
Char
>
part
;
public:
typedef
internal
::
null_terminating_iterator
<
Char
>
iterator
;
typedef
typename
basic_string_view
<
Char
>::
iterator
iterator
;
FMT_CONSTEXPR
format_preparation_handler
(
basic_string_view
<
Char
>
format
,
PartsContainer
&
parts
)
...
...
@@ -357,9 +357,6 @@ template <typename Format> class compiletime_prepared_parts_type_provider {
using
char_type
=
char_t
<
Format
>
;
class
count_handler
{
private:
typedef
internal
::
null_terminating_iterator
<
char_type
>
iterator
;
public:
FMT_CONSTEXPR
count_handler
()
:
counter_
(
0u
)
{}
...
...
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