Does the `PYBIND11_TESTS_PURE_CPP_SMART_HOLDER_POC_TEST_CPP` define have anything to do with it?
This commit is contained in:
Ralf W. Grosse-Kunstleve 2023-11-01 15:35:04 -07:00
parent 7669a5bea8
commit fe59369f40

View File

@ -58,6 +58,12 @@ Details:
#pragma once #pragma once
#if defined(_MSC_VER) && !defined(PYBIND11_TESTS_PURE_CPP_SMART_HOLDER_POC_TEST_CPP)
// Experiment related to
// https://github.com/pybind/pybind11/pull/4850#issuecomment-1789780676
# define PYBIND11_TESTS_PURE_CPP_SMART_HOLDER_POC_TEST_CPP
#endif
#include <functional> #include <functional>
#include <memory> #include <memory>
#include <stdexcept> #include <stdexcept>