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

No-op cleanup function for fiber_specific_ptr #325

Open
beojan opened this issue Oct 17, 2024 · 0 comments
Open

No-op cleanup function for fiber_specific_ptr #325

beojan opened this issue Oct 17, 2024 · 0 comments

Comments

@beojan
Copy link

beojan commented Oct 17, 2024

I have a use case where I need a fiber_specific_ptr that is just an observer, and should not delete the object when the fiber completes. A built-in no-op cleanup function (perhaps used if the single argument constructor is used passing in a nullptr) would help with this.

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

No branches or pull requests

1 participant