Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pointer] Add Ptr::into_transparent_wrapper #1199

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

joshlf
Copy link
Member

@joshlf joshlf commented May 6, 2024

TODO:

  • Audit uses of associated types for consistency regarding Wrap vs Unwrap: make sure we're always using the correct direction
  • Audit bidirectional variance types (UnsafeCellVariance, ValidityVariance) and make sure that safety comments justify both directions
  • File issue to track making TransparentWrapper smart enough to distinguish between shared pointer conversions and exclusive pointer conversions

TODO:
- Audit uses of associated types for consistency regarding Wrap vs
  Unwrap: make sure we're always using the correct direction
- Audit bidirectional variance types (UnsafeCellVariance,
  ValidityVariance) and make sure that safety comments justify both
  directions
- File issue to track making TransparentWrapper smart enough to
  distinguish between shared pointer conversions and exclusive pointer
  conversions
@joshlf joshlf force-pushed the transparent-wrapper-into-wrapper branch from e0418b6 to 4c1b781 Compare May 6, 2024 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant