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
98f1c1fe
Commit
98f1c1fe
authored
Oct 14, 2018
by
Victor Zverovich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused code
parent
50b18a3c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
27 deletions
+0
-27
include/fmt/format.h
include/fmt/format.h
+0
-27
No files found.
include/fmt/format.h
View file @
98f1c1fe
...
@@ -1155,33 +1155,6 @@ enum alignment {
...
@@ -1155,33 +1155,6 @@ enum alignment {
// Flags.
// Flags.
enum
{
SIGN_FLAG
=
1
,
PLUS_FLAG
=
2
,
MINUS_FLAG
=
4
,
HASH_FLAG
=
8
};
enum
{
SIGN_FLAG
=
1
,
PLUS_FLAG
=
2
,
MINUS_FLAG
=
4
,
HASH_FLAG
=
8
};
enum
format_spec_tag
{
fill_tag
,
align_tag
,
width_tag
,
type_tag
};
// Format specifier.
template
<
typename
T
,
format_spec_tag
>
class
format_spec
{
private:
T
value_
;
public:
typedef
T
value_type
;
explicit
format_spec
(
T
value
)
:
value_
(
value
)
{}
T
value
()
const
{
return
value_
;
}
};
// template <typename Char>
// typedef format_spec<Char, fill_tag> fill_spec;
template
<
typename
Char
>
class
fill_spec
:
public
format_spec
<
Char
,
fill_tag
>
{
public:
explicit
fill_spec
(
Char
value
)
:
format_spec
<
Char
,
fill_tag
>
(
value
)
{}
};
typedef
format_spec
<
unsigned
,
width_tag
>
width_spec
;
typedef
format_spec
<
char
,
type_tag
>
type_spec
;
// An empty format specifier.
// An empty format specifier.
struct
empty_spec
{};
struct
empty_spec
{};
...
...
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