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

[util.smartptr.atomic.shared][util.smartptr.atomic.weak] Weird wording for default constructors #7522

Open
frederick-vs-ja opened this issue Dec 27, 2024 · 2 comments · May be fixed by #7583

Comments

@frederick-vs-ja
Copy link
Contributor

Currently these default constructors are specified with

Effects: Initializes p{}.

, which seems unconventional.

Do we want to say (wordy) "direct-list-initializes p from an empty initializer list" or "value-initializes p"?

@jwakely
Copy link
Member

jwakely commented Dec 27, 2024

I think just value-initializes p.

@jensmaurer
Copy link
Member

Agreed. Feel free to post an editorial pull request here.

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 a pull request may close this issue.

3 participants