Skip to content

Commit fe59369

Browse files
committed
Very simple experiment related to pybind#4850 (comment)
Does the `PYBIND11_TESTS_PURE_CPP_SMART_HOLDER_POC_TEST_CPP` define have anything to do with it?
1 parent 7669a5b commit fe59369

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

include/pybind11/detail/smart_holder_poc.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ High-level aspects:
5858

5959
#pragma once
6060

61+
#if defined(_MSC_VER) && !defined(PYBIND11_TESTS_PURE_CPP_SMART_HOLDER_POC_TEST_CPP)
62+
// Experiment related to
63+
// https://github.com/pybind/pybind11/pull/4850#issuecomment-1789780676
64+
# define PYBIND11_TESTS_PURE_CPP_SMART_HOLDER_POC_TEST_CPP
65+
#endif
66+
6167
#include <functional>
6268
#include <memory>
6369
#include <stdexcept>

0 commit comments

Comments
 (0)