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

Is there any plan for standardizing local_shared_ptr? #106

Open
frederick-vs-ja opened this issue Nov 29, 2022 · 3 comments
Open

Is there any plan for standardizing local_shared_ptr? #106

frederick-vs-ja opened this issue Nov 29, 2022 · 3 comments

Comments

@frederick-vs-ja
Copy link

I'm sorry for bothering here. This is not an issue for boost::local_shared_ptr.

Arthur O'Dwyer said that local_shared_ptr has been rejected for standardization (on std-proposals). But it seems that there's not even a P-paper for it.

I wonder whether the standardization is really rejected, and if not, whether there is any plan for it.

@pdimov
Copy link
Member

pdimov commented Nov 29, 2022

I'm not aware of any attempts to propose local_shared_ptr for standardization. I'm not sure what Arthur was referring to. @Quuxplusone?

@Quuxplusone
Copy link

@pdimov: You think I remember what I was thinking in a parenthetical from two years ago? ;) Searching for "non-thread-safe shared_ptr" turns up some old discussions like

I might have been hazily remembering the 2015 and 2016 discussions, which were WG21-adjacent and didn't result in anything being adopted, but also weren't formal proposals either.

@pdimov
Copy link
Member

pdimov commented Nov 29, 2022

Reading that SO link reminds me that I need to find the time to implement local_weak_ptr one of these days.

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

3 participants