From 7559a54a660910e38d0486bd6d01d962c2a2fb7f Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Tue, 23 Feb 2021 16:19:02 -0800 Subject: [PATCH] PYBIND11_USE_SMART_HOLDER_AS_DEFAULT --- include/pybind11/detail/smart_holder_sfinae_hooks_only.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pybind11/detail/smart_holder_sfinae_hooks_only.h b/include/pybind11/detail/smart_holder_sfinae_hooks_only.h index f324854751..507fa9cc8e 100644 --- a/include/pybind11/detail/smart_holder_sfinae_hooks_only.h +++ b/include/pybind11/detail/smart_holder_sfinae_hooks_only.h @@ -9,7 +9,7 @@ #include #ifndef PYBIND11_USE_SMART_HOLDER_AS_DEFAULT -// #define PYBIND11_USE_SMART_HOLDER_AS_DEFAULT +#define PYBIND11_USE_SMART_HOLDER_AS_DEFAULT // Currently the main purpose of this switch is to enable non-intrusive comprehensive testing. If // and when `smart_holder` will actually become the released default is currently open. In the // meantime, the full functionality is easily available by using `py::classh`, which is just a