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
d53cc2bc
Commit
d53cc2bc
authored
Jan 12, 2013
by
Victor Zverovich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the build on MSVC.
parent
4f96062c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
format.h
format.h
+4
-4
No files found.
format.h
View file @
d53cc2bc
...
...
@@ -244,14 +244,14 @@ struct FormatSpec : AlignSpec {
char
type
()
const
{
return
type_
;
}
};
template
<
typename
T
,
typename
Spec
>
class
IntFormatter
:
public
Spec
{
template
<
typename
T
,
typename
Spec
T
>
class
IntFormatter
:
public
Spec
T
{
private:
T
value_
;
public:
IntFormatter
(
T
value
,
const
Spec
&
spec
=
Spec
())
:
Spec
(
spec
),
value_
(
value
)
{}
IntFormatter
(
T
value
,
const
Spec
T
&
spec
=
SpecT
())
:
Spec
T
(
spec
),
value_
(
value
)
{}
T
value
()
const
{
return
value_
;
}
};
...
...
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