Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
S
spdlog
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
spdlog
Commits
5d23e88c
Commit
5d23e88c
authored
Dec 02, 2016
by
gabime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
astyle
parent
6d8efa8d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
os.h
include/spdlog/details/os.h
+0
-0
pattern_formatter_impl.h
include/spdlog/details/pattern_formatter_impl.h
+0
-0
format.h
include/spdlog/fmt/bundled/format.h
+9
-9
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