[smart_holder] Add and use instance::is_alias
(to clean up struct smart_holder
)
#5318
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Clean up
struct smart_holder
:instance::is_alias
(similar to Attach python lifetime to shared_ptr passed to C++ #2839, but everything else here is different).smart_holder::pointee_depends_on_holder_owner
toinstance::is_alias
.smart_holder::pointee_depends_on_holder_owner
.Suggested changelog entry: