Ralf W. Grosse-Kunstleve
|
45ec61f419
|
Adding shared_ptr_reset_and_rescue_pointee_model_proof_of_concept.
|
2021-06-30 07:04:31 -07:00 |
|
Ralf W. Grosse-Kunstleve
|
4f00ffdc69
|
Copying in shared_from_this_custom_deleters.cpp from github.com/rwgk, with adjustments.
Base version: e5318faa6a/shared_from_this_custom_deleters.cpp
|
2021-06-30 07:04:31 -07:00 |
|
Ralf W. Grosse-Kunstleve
|
05bd93543b
|
Fully emulating type_caster_base-related behavior: trying shared_from_this also for unowned pointees.
|
2021-06-30 07:04:31 -07:00 |
|
Ralf W. Grosse-Kunstleve
|
775873d0b6
|
Adding from_raw_pointer_take_ownership_or_shared_from_this().
|
2021-06-30 07:04:31 -07:00 |
|
Ralf W. Grosse-Kunstleve
|
24c223ad8e
|
static_assert in from_raw_ptr_take_ownership, to be tested.
|
2021-06-30 07:04:31 -07:00 |
|
Ralf W. Grosse-Kunstleve
|
e5b38a4459
|
Breaking up test_shared_ptr_from_this_and_references into smaller subtests. Skipping the only test that generates an ASAN heap-use-after-free.
|
2021-06-30 07:04:31 -07:00 |
|
Ralf W. Grosse-Kunstleve
|
94523e8a02
|
Experiments: 1. disabling enable_shared_from_this, 2. using smart_holder in test_class_sh_shared_from_this.cpp
|
2021-06-30 07:04:31 -07:00 |
|
Ralf W. Grosse-Kunstleve
|
252b6aefb8
|
Isolating shared_from_this tests from test_smart_ptr (minimal changes).
|
2021-06-30 07:04:31 -07:00 |
|