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 62e5fef commit f0e58a6Copy full SHA for f0e58a6
include/pybind11/common.h
@@ -427,12 +427,8 @@ template<size_t N> using make_index_sequence = typename make_index_sequence_impl
427
template <bool B> using bool_constant = std::integral_constant<bool, B>;
428
template <typename T> struct negation : bool_constant<!T::value> { };
429
430
-#ifdef __cpp_lib_void_t
431
-using std::void_t;
432
-#else
433
template <typename...> struct void_t_impl { using type = void; };
434
template <typename... Ts> using void_t = typename void_t_impl<Ts...>::type;
435
-#endif
436
437
/// Compile-time all/any/none of that check the boolean value of all template types
438
#ifdef __cpp_fold_expressions
0 commit comments