Skip to content

Commit

Permalink
Very simple experiment related to #4850 (comment)
Browse files Browse the repository at this point in the history
Does the `PYBIND11_TESTS_PURE_CPP_SMART_HOLDER_POC_TEST_CPP` define have anything to do with it?
  • Loading branch information
Ralf W. Grosse-Kunstleve committed Nov 1, 2023
1 parent 7669a5b commit fe59369
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/pybind11/detail/smart_holder_poc.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ High-level aspects:

#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 <memory>
#include <stdexcept>
Expand Down

0 comments on commit fe59369

Please sign in to comment.