Skip to content

Commit

Permalink
chore: make pybind#4587 use proper cpp17 feature macro
Browse files Browse the repository at this point in the history
  • Loading branch information
Skylion007 committed Mar 27, 2023
1 parent 5bbcba5 commit 65e18e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/pybind11/detail/descr.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ constexpr descr<N, Ts...> concat(const descr<N, Ts...> &descr) {
return descr;
}

#if defined(PYBIND11_CPP17)
#ifdef __cpp_fold_expressions
template <size_t N1, size_t N2, typename... Ts1, typename... Ts2>
constexpr descr<N1 + N2 + 2, Ts1..., Ts2...> operator,(const descr<N1, Ts1...> &a,
const descr<N2, Ts2...> &b) {
Expand Down

0 comments on commit 65e18e5

Please sign in to comment.