Ralf W. Grosse-Kunstleve
|
223283295f
|
Two minor platform-specific fixes. Using static_cast instead of reinterpret_cast.
|
2021-06-30 07:04:31 -07:00 |
|
Ralf W. Grosse-Kunstleve
|
5bb38c10b3
|
MSVC 2015 compatibility.
|
2021-06-30 07:04:31 -07:00 |
|
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
|
b633bb5b84
|
Inserting #ifdef to preempt Windows fatal exception.
|
2021-06-30 07:04:31 -07:00 |
|
Ralf W. Grosse-Kunstleve
|
e0b770d549
|
Explictly discarding [[nodiscard]] to avoid MSVC CI failures.
|
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
|
775873d0b6
|
Adding from_raw_pointer_take_ownership_or_shared_from_this().
|
2021-06-30 07:04:31 -07:00 |
|
Ralf W. Grosse-Kunstleve
|
2a265860a7
|
enable_shared_from_this_from_raw_ptr_take_ownership_guard: better static_assert that also triggers for derived classes.
|
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
|
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 |
|