From f0e58a69d382724697f9d0154e94a59529a9d512 Mon Sep 17 00:00:00 2001 From: Dean Moldovan Date: Wed, 22 Mar 2017 22:02:13 +0100 Subject: [PATCH] Fix compilation with clang 4.0 in -std=c++1z mode --- include/pybind11/common.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/pybind11/common.h b/include/pybind11/common.h index fba25c9f0..762921ca2 100644 --- a/include/pybind11/common.h +++ b/include/pybind11/common.h @@ -427,12 +427,8 @@ template using make_index_sequence = typename make_index_sequence_impl template using bool_constant = std::integral_constant; template struct negation : bool_constant { }; -#ifdef __cpp_lib_void_t -using std::void_t; -#else template struct void_t_impl { using type = void; }; template using void_t = typename void_t_impl::type; -#endif /// Compile-time all/any/none of that check the boolean value of all template types #ifdef __cpp_fold_expressions