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.exec.ctx] Reentrancy and use_service/make_service #25

Open
chriskohlhoff opened this issue Jun 20, 2016 · 0 comments
Open

[async.exec.ctx] Reentrancy and use_service/make_service #25

chriskohlhoff opened this issue Jun 20, 2016 · 0 comments

Comments

@chriskohlhoff
Copy link
Contributor

C++Std [reentrancy] says:

Except where explicitly specified in this standard, it is implementation-defined which functions in the Standard C++ library may be recursively reentered.

The intention is that both use_service and make_service may make nested calls (from the Service constructor) to use_service or make_service. Obviously these nested calls will require a different Service template argument. I am uncertain if calling these function templates with different template arguments counts as recursive reentrance, but if it does then we may need to add a sentence explicitly specifying that this is permitted.

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