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

Parallel composition with generic containers #1739

Merged
merged 19 commits into from Sep 22, 2015

Conversation

AntonBikineev
Copy link
Contributor

Started working on functionality which was taken from National Body Comments https://isocpp.org/files/papers/N4551.pdf.
Added functionality for specifying resulting container type for when_all, when_any, when_some.

@AntonBikineev
Copy link
Contributor Author

K-ballo: I addressed some of your comments, hkaiser: if you have time, please review

@K-ballo
Copy link
Member

K-ballo commented Sep 8, 2015

K-ballo: I addressed some of your comments, hkaiser: if you have time, please review

@AntonBikineev only some? Which ones have you ignored?

@@ -104,6 +104,9 @@ namespace hpx { namespace traits
struct default_chunk_size;

///////////////////////////////////////////////////////////////////////////
template <typename Range>
struct is_range;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd suggest making the is_range trait SFINAE friendly by giving it an typename Enable = void argument, similar to all the other traits.

@AntonBikineev
Copy link
Contributor Author

@K-ballo : I ignored the one about template template parameter with variadic parameter in test file for now

@AntonBikineev
Copy link
Contributor Author

@K-ballo : the when_all test worked fine for gcc-4.6, yet it didn't compile for intel

@hkaiser hkaiser added this to the 0.9.11 milestone Sep 12, 2015
@hkaiser
Copy link
Member

hkaiser commented Sep 12, 2015

LGTM, needs re-basing against master, though.

@AntonBikineev
Copy link
Contributor Author

@hkaiser: why rebasing, not merging?

@hkaiser
Copy link
Member

hkaiser commented Sep 13, 2015

Sure, I meant merge

@AntonBikineev
Copy link
Contributor Author

Is somebody reviewing this?

@hkaiser
Copy link
Member

hkaiser commented Sep 19, 2015

LGTM

hkaiser added a commit that referenced this pull request Sep 22, 2015
…_generic_containers

Parallel composition with generic containers
@hkaiser hkaiser merged commit a30c15c into master Sep 22, 2015
@hkaiser hkaiser deleted the parallel_composition_with_generic_containers branch September 22, 2015 05:56
@K-ballo
Copy link
Member

K-ballo commented Sep 28, 2015

@AntonBikineev This is causing build failures on Intel compilers (see here), those failures appear to be those I warned about and you confirmed broken. Please take another look at them, it should be enough to use a concrete template argument instead of a template template argument.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants