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

Any C++ function that has serializable arguments and a serializable return type should be remotable #605

Closed
brycelelbach opened this issue Nov 8, 2012 · 1 comment

Comments

@brycelelbach
Copy link
Member

Using template actions, we should be able to make things like hpx::async(f, id) work for any C++ function that has serialzable arguments and a serializable return type.

@hkaiser
Copy link
Member

hkaiser commented Nov 8, 2012

There is no way to distinguish the new form (as requested) hpx::async(f, id, ...) from the existing form (which does a local operation hpx::async(f, ...). I'm not sure if it's a good idea to enable_if based on the argument type of the first argument (i.e. the id_type).

Seems we will not be able to implement this, even if it would make for a nice extension of our API.

@hkaiser hkaiser closed this as completed Nov 8, 2012
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

2 participants