We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1cd376 commit 20ea47fCopy full SHA for 20ea47f
include/pybind11/detail/common.h
@@ -501,8 +501,12 @@ template <bool... Bs> using select_indices = typename select_indices_impl<index_
501
template <bool B> using bool_constant = std::integral_constant<bool, B>;
502
template <typename T> struct negation : bool_constant<!T::value> { };
503
504
-template <typename... >
505
-using void_t = void;
+#if defined(__PGIC__)
+template<typename... > using void_t = void;
506
+#else
507
+template<typename... Ts> struct make_void { typedef void type;};
508
+template<typename... Ts> using void_t = typename make_void<Ts...>::type;
509
+#endif
510
511
512
/// Compile-time all/any/none of that check the boolean value of all template types
0 commit comments