From e4d0a5557521c03e1596ea148abee26e8b544b9f Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Mon, 1 Jul 2024 10:26:18 -0700 Subject: [PATCH] Remove is_holder_type --- include/pybind11/cast.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/pybind11/cast.h b/include/pybind11/cast.h index 624b8ebac..84cf8dafa 100644 --- a/include/pybind11/cast.h +++ b/include/pybind11/cast.h @@ -878,9 +878,6 @@ struct always_construct_holder { template struct is_holder_type : std::is_base_of, detail::type_caster> {}; -// Specialization for always-supported unique_ptr holders: -template -struct is_holder_type> : std::true_type {}; #ifdef PYBIND11_DISABLE_HANDLE_TYPE_NAME_DEFAULT_IMPLEMENTATION // See PR #4888