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 |
|