Skip to content

Conversation

madsmtm
Copy link

@madsmtm madsmtm commented May 28, 2021

The smart pointer version of StrongPtr, but with more guarantees.

Notably, this has an Deref<Target = T> implementation, which makes it more ergonomic and safer to use.

See #95 for some of the reasoning behind this.

I'm thinking about removing StrongPtr completely in favor of this (since it's behaviour can be achieved with Retained<Object>), but please voice your opinion on this.

@madsmtm madsmtm closed this May 29, 2021
@madsmtm madsmtm deleted the retained branch May 29, 2021 18:35
@madsmtm
Copy link
Author

madsmtm commented May 29, 2021

Ooops, accidentally deleted the branch, so I've created #98 instead

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.

1 participant