Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
370a2ae2
"tests/git@developer.sourcefind.cn:gaoqiong/pybind11.git" did not exist on "9077bcd1fc858f7281bd00e1a89fde80dae51cc0"
Commit
370a2ae2
authored
Jan 05, 2020
by
Robert Haschke
Committed by
Wenzel Jakob
Jan 05, 2020
Browse files
Declare call_impl() as && (#2057)
parent
bf2b0314
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
include/pybind11/cast.h
include/pybind11/cast.h
+1
-1
No files found.
include/pybind11/cast.h
View file @
370a2ae2
...
...
@@ -1978,7 +1978,7 @@ private:
}
template
<
typename
Return
,
typename
Func
,
size_t
...
Is
,
typename
Guard
>
Return
call_impl
(
Func
&&
f
,
index_sequence
<
Is
...
>
,
Guard
&&
)
{
Return
call_impl
(
Func
&&
f
,
index_sequence
<
Is
...
>
,
Guard
&&
)
&&
{
return
std
::
forward
<
Func
>
(
f
)(
cast_op
<
Args
>
(
std
::
move
(
std
::
get
<
Is
>
(
argcasters
)))...);
}
...
...
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