diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6bf56c4e3..bc31281db 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -712,7 +712,7 @@ jobs: include: - python: 3.9 - args: -DCMAKE_CXX_STANDARD=20 -DDOWNLOAD_EIGEN=OFF + args: -DCMAKE_CXX_STANDARD=20 - python: 3.8 args: -DCMAKE_CXX_STANDARD=17 @@ -835,7 +835,7 @@ jobs: cmake -S . -B build -DPYBIND11_WERROR=ON -DDOWNLOAD_CATCH=ON - -DDOWNLOAD_EIGEN=OFF + -DDOWNLOAD_EIGEN=ON -DCMAKE_CXX_STANDARD=20 - name: Build C++20 diff --git a/include/pybind11/detail/common.h b/include/pybind11/detail/common.h index 1070d686e..1d4939bed 100644 --- a/include/pybind11/detail/common.h +++ b/include/pybind11/detail/common.h @@ -822,7 +822,9 @@ struct is_template_base_of_impl { /// Check if a template is the base of a type. For example: /// `is_template_base_of` is true if `struct T : Base {}` where U can be anything template