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

[async.reqmts.executor] "No constructor ... shall exit via an exception" over-specification #47

Open
chriskohlhoff opened this issue Oct 16, 2016 · 0 comments

Comments

@chriskohlhoff
Copy link
Contributor

chriskohlhoff commented Oct 16, 2016

This is probably a copy/paste error introduced when this text was copied from the standard (I believe from [allocator.requirements]).

The intent is only that copy and move constructors shall not throw, and I think that is already covered by "copy operation, move operation". Other constructors not covered by the Executor requirements should be allowed to throw.

Suggested resolution: Delete "constructor," so that the sentence reads "No comparison operator, copy operation, move operation, swap operation, or member functions \tcode{context}, \tcode{on_work_started}, and \tcode{on_work_finished} on these types shall exit via an exception."

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