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
0ca6867e
Commit
0ca6867e
authored
Jan 03, 2019
by
Boris Staletic
Committed by
Wenzel Jakob
Jan 03, 2019
Browse files
Avoid Visual Studio 2017 15.9.4 ICE
parent
f4b4e2e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
include/pybind11/numpy.h
include/pybind11/numpy.h
+4
-1
No files found.
include/pybind11/numpy.h
View file @
0ca6867e
...
@@ -1466,7 +1466,10 @@ public:
...
@@ -1466,7 +1466,10 @@ public:
private:
private:
remove_reference_t
<
Func
>
f
;
remove_reference_t
<
Func
>
f
;
template
<
size_t
Index
>
using
param_n_t
=
typename
pack_element
<
Index
,
typename
vectorize_arg
<
Args
>::
call_type
...
>::
type
;
// Internal compiler error in MSVC 19.16.27025.1 (Visual Studio 2017 15.9.4), when compiling with "/permissive-" flag
// when arg_call_types is manually inlined.
using
arg_call_types
=
std
::
tuple
<
typename
vectorize_arg
<
Args
>::
call_type
...
>
;
template
<
size_t
Index
>
using
param_n_t
=
typename
std
::
tuple_element
<
Index
,
arg_call_types
>::
type
;
// Runs a vectorized function given arguments tuple and three index sequences:
// Runs a vectorized function given arguments tuple and three index sequences:
// - Index is the full set of 0 ... (N-1) argument indices;
// - Index is the full set of 0 ... (N-1) argument indices;
...
...
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