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
fbc8ea8c
Commit
fbc8ea8c
authored
Mar 08, 2017
by
Victor Zverovich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
False -> FalseType (#483)
parent
6c3aa28c
Changes
1
Show 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 @
fbc8ea8c
...
...
@@ -1216,7 +1216,7 @@ template <>
struct
Not
<
false
>
{
enum
{
value
=
1
};
};
template
<
typename
T
>
struct
False
{
enum
{
value
=
0
};
};
struct
False
Type
{
enum
{
value
=
0
};
};
template
<
typename
T
,
T
>
struct
LConvCheck
{
LConvCheck
(
int
)
{}
...
...
@@ -1256,7 +1256,7 @@ inline fmt::StringRef thousands_sep(...) { return ""; }
template
<
typename
Formatter
,
typename
Char
,
typename
T
>
void
format_arg
(
Formatter
&
,
const
Char
*
,
const
T
&
)
{
FMT_STATIC_ASSERT
(
False
<
T
>::
value
,
FMT_STATIC_ASSERT
(
False
Type
<
T
>::
value
,
"Cannot format argument. To enable the use of ostream "
"operator<< include fmt/ostream.h. Otherwise provide "
"an overload of format_arg."
);
...
...
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