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

Add an is_tuple_like trait for sequenceable type detection #2687

Merged
merged 1 commit into from Jun 12, 2017

Conversation

Naios
Copy link
Contributor

@Naios Naios commented Jun 7, 2017

Requires #2685, otherwise the unit test won't pass

util::tuple_size<T>::value
)>::type> : std::true_type { };
}}

Copy link
Member

Choose a reason for hiding this comment

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

Please try to adapt your style of formatting to the rest of HPX. I'll send you a .clang-format file which you can use as a starting point.

@hkaiser
Copy link
Member

hkaiser commented Jun 7, 2017

Please add the new #include here: https://github.com/STEllAR-GROUP/hpx/blob/master/hpx/include/traits.hpp

@Naios
Copy link
Contributor Author

Naios commented Jun 8, 2017

I fixed the code formatting and added the trait to the include compilation.
@hkaiser thank you for sending me the .clang-format file, it seems to be much better than the one I had.

Copy link
Member

@hkaiser hkaiser left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@hkaiser
Copy link
Member

hkaiser commented Jun 8, 2017

@Naios: the current build failures are caused by a bogus commit you picked up by merging from master. Please merge again, this should resolve the issue.

@Naios
Copy link
Contributor Author

Naios commented Jun 9, 2017

@hkaiser I rebased the PR accordingly, but the CI is still failing

@hkaiser hkaiser merged commit fd9d97f into STEllAR-GROUP:master Jun 12, 2017
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

2 participants