pybind11/include
Ralf W. Grosse-Kunstleve b9eb2a46c4 Setting record.default_holder correctly for PYBIND11_USE_SMART_HOLDER_AS_DEFAULT.
With this test_class.cpp builds and even mostly runs, except
`test_multiple_instances_with_same_pointer`, which segfaults because it is
using a `unique_ptr` holder but `smart_holder` `type_caster`.

Also adding `static_assert`s to generate build errors for such situations,
but guarding with `#if 0` to first pivot to test_factory_constructors.cpp.
2021-02-09 06:47:44 -08:00
..
pybind11 Setting record.default_holder correctly for PYBIND11_USE_SMART_HOLDER_AS_DEFAULT. 2021-02-09 06:47:44 -08:00