Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
spdlog
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
spdlog
Commits
5d23e88c
Commit
5d23e88c
authored
Dec 02, 2016
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
astyle
parent
6d8efa8d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
16 deletions
+16
-16
include/spdlog/details/os.h
include/spdlog/details/os.h
+2
-2
include/spdlog/details/pattern_formatter_impl.h
include/spdlog/details/pattern_formatter_impl.h
+3
-3
include/spdlog/fmt/bundled/format.h
include/spdlog/fmt/bundled/format.h
+11
-11
No files found.
include/spdlog/details/os.h
View file @
5d23e88c
include/spdlog/details/pattern_formatter_impl.h
View file @
5d23e88c
include/spdlog/fmt/bundled/format.h
View file @
5d23e88c
...
...
@@ -2647,15 +2647,15 @@ inline uint64_t make_type(const T &arg)
}
template
<
unsigned
N
,
bool
/*IsPacked*/
=
(
N
<
ArgList
::
MAX_PACKED_ARGS
)>
struct
ArgArray
;
struct
ArgArray
;
template
<
unsigned
N
>
struct
ArgArray
<
N
,
true
/*IsPacked*/
>
{
typedef
Value
Type
[
N
>
0
?
N
:
1
];
template
<
typename
Formatter
,
typename
T
>
static
Value
make
(
const
T
&
value
)
template
<
typename
Formatter
,
typename
T
>
static
Value
make
(
const
T
&
value
)
{
#ifdef __clang__
Value
result
=
MakeValue
<
Formatter
>
(
value
);
...
...
@@ -2667,7 +2667,7 @@ static Value make(const T &value)
return
MakeValue
<
Formatter
>
(
value
);
#endif
}
};
};
template
<
unsigned
N
>
struct
ArgArray
<
N
,
false
/*IsPacked*/
>
...
...
@@ -4571,7 +4571,7 @@ struct UdlArg
template
<
typename
T
>
NamedArgWithType
<
Char
,
T
>
operator
=
(
T
&&
value
)
const
{
return
{
str
,
std
::
forward
<
T
>
(
value
)
};
return
{
str
,
std
::
forward
<
T
>
(
value
)
};
}
};
...
...
@@ -4593,12 +4593,12 @@ std::string message = "The answer is {}"_format(42);
inline
internal
::
UdlFormat
<
char
>
operator
""
_format
(
const
char
*
s
,
std
::
size_t
)
{
return
{
s
};
return
{
s
};
}
inline
internal
::
UdlFormat
<
wchar_t
>
operator
""
_format
(
const
wchar_t
*
s
,
std
::
size_t
)
{
return
{
s
};
return
{
s
};
}
/**
...
...
@@ -4614,12 +4614,12 @@ print("Elapsed time: {s:.2f} seconds", "s"_a=1.23);
inline
internal
::
UdlArg
<
char
>
operator
""
_a
(
const
char
*
s
,
std
::
size_t
)
{
return
{
s
};
return
{
s
};
}
inline
internal
::
UdlArg
<
wchar_t
>
operator
""
_a
(
const
wchar_t
*
s
,
std
::
size_t
)
{
return
{
s
};
return
{
s
};
}
}
// inline namespace literals
...
...
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