diff --git a/include/pybind11/detail/descr.h b/include/pybind11/detail/descr.h index 85259d488..635614b0d 100644 --- a/include/pybind11/detail/descr.h +++ b/include/pybind11/detail/descr.h @@ -143,7 +143,7 @@ constexpr descr concat(const descr &descr) { return descr; } -#if defined(PYBIND11_CPP17) +#ifdef __cpp_fold_expressions template constexpr descr operator,(const descr &a, const descr &b) {