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
39f522a1
Commit
39f522a1
authored
Jun 11, 2019
by
Victor Zverovich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
get_types -> encode_types
parent
d7d2bebf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
include/fmt/core.h
include/fmt/core.h
+4
-4
No files found.
include/fmt/core.h
View file @
39f522a1
...
...
@@ -989,12 +989,12 @@ class locale_ref {
template
<
typename
Locale
>
Locale
get
()
const
;
};
template
<
typename
>
constexpr
unsigned
long
long
get
_types
()
{
return
0
;
}
template
<
typename
>
constexpr
unsigned
long
long
encode
_types
()
{
return
0
;
}
template
<
typename
Context
,
typename
Arg
,
typename
...
Args
>
constexpr
unsigned
long
long
get
_types
()
{
constexpr
unsigned
long
long
encode
_types
()
{
return
mapped_type_constant
<
Arg
,
Context
>::
value
|
(
get
_types
<
Context
,
Args
...
>
()
<<
4
);
(
encode
_types
<
Context
,
Args
...
>
()
<<
4
);
}
template
<
typename
Context
,
typename
T
>
...
...
@@ -1095,7 +1095,7 @@ template <typename Context, typename... Args> class format_arg_store {
public:
static
constexpr
unsigned
long
long
TYPES
=
is_packed
?
internal
::
get
_types
<
Context
,
Args
...
>
()
is_packed
?
internal
::
encode
_types
<
Context
,
Args
...
>
()
:
internal
::
is_unpacked_bit
|
num_args
;
format_arg_store
(
const
Args
&
...
args
)
...
...
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