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

Implement isUniqueRef to SharedPtr #81

Merged
merged 3 commits into from
Dec 24, 2024

Conversation

elcritch
Copy link
Contributor

@elcritch elcritch commented Dec 24, 2024

This helps with cases where you might want to do something when the SharedPtr is no longer shared.

@elcritch
Copy link
Contributor Author

Also bumps the version to 0.2.1 so I can pull in the proper version with fixed sharedptr's in with Nimble :)

tests/tsmartptrs.nim Outdated Show resolved Hide resolved
tests/tsmartptrs.nim Outdated Show resolved Hide resolved
tests/tsmartptrs.nim Outdated Show resolved Hide resolved
@narimiran narimiran merged commit c5a39a0 into nim-lang:master Dec 24, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants