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

in_place_stop_token copy constructor/assignment and destructor #55

Open
vasama opened this issue Nov 10, 2023 · 0 comments
Open

in_place_stop_token copy constructor/assignment and destructor #55

vasama opened this issue Nov 10, 2023 · 0 comments

Comments

@vasama
Copy link

vasama commented Nov 10, 2023

The wording for in_place_stop_token is missing copy constructor and copy assignment and contains a destructor the effects of which are not described.

The reference implementation for in_place_stop_token provides trivial copy, trivial destructor and linear move. This is clearly not according to the specification.

Assuming the intent is for in_place_stop_token to be trivially copyable, the special member functions for copying should be specified defaulted and the destructor removed.

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