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
77374a7e
Commit
77374a7e
authored
Sep 08, 2018
by
Michael Goulding
Committed by
Wenzel Jakob
Sep 08, 2018
Browse files
VS 15.8.0 Preview 4.0 has a bug with alias templates (#1462)
* VS 15.8.0 Preview 4.0 has a bug with alias templates
parent
435dbdd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
include/pybind11/detail/common.h
include/pybind11/detail/common.h
+1
-1
No files found.
include/pybind11/detail/common.h
View file @
77374a7e
...
...
@@ -477,7 +477,7 @@ template <typename...> struct void_t_impl { using type = void; };
template
<
typename
...
Ts
>
using
void_t
=
typename
void_t_impl
<
Ts
...
>::
type
;
/// Compile-time all/any/none of that check the boolean value of all template types
#ifdef
__cpp_fold_expressions
#if
def
ined(
__cpp_fold_expressions
) && !(defined(_MSC_VER) && (_MSC_VER < 1916))
template
<
class
...
Ts
>
using
all_of
=
bool_constant
<
(
Ts
::
value
&&
...)
>
;
template
<
class
...
Ts
>
using
any_of
=
bool_constant
<
(
Ts
::
value
||
...)
>
;
#elif !defined(_MSC_VER)
...
...
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