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

Making hpx::util::tuple<Ts...> and std::tuple<Ts...> convertible #3961

Merged
merged 2 commits into from
Sep 26, 2019

Conversation

sithhell
Copy link
Member

@sithhell sithhell commented Jul 5, 2019

Fixes #1403 by allowing the use of hpx::util::get with std::tuple and
std::get with hpx::util::tuple::get. Same goes for the utilities
tuple_size and tuple_element.
An additional conversion operator from hpx::util::tuple<Ts..> to
std::tuple<Ts..> has been added to make the two types interchangable.

@sithhell sithhell force-pushed the fixing_1403 branch 2 times, most recently from 6c54b6a to 5bdfce8 Compare July 5, 2019 10:27
hpx/util/tuple.hpp Outdated Show resolved Hide resolved
hpx/util/tuple.hpp Outdated Show resolved Hide resolved
hpx/util/tuple.hpp Outdated Show resolved Hide resolved
hpx/util/tuple.hpp Outdated Show resolved Hide resolved
hpx/util/tuple.hpp Outdated Show resolved Hide resolved
hpx/util/tuple.hpp Outdated Show resolved Hide resolved
hpx/util/tuple.hpp Outdated Show resolved Hide resolved
hkaiser
hkaiser previously approved these changes Jul 10, 2019
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!

@msimberg
Copy link
Contributor

@sithhell would you have time to look at the build failures?

@sithhell
Copy link
Member Author

This should be ready to go now.

@sithhell sithhell force-pushed the fixing_1403 branch 2 times, most recently from 81791a5 to dc13ee4 Compare September 17, 2019 18:55
@sithhell sithhell force-pushed the fixing_1403 branch 2 times, most recently from d08a04d to 9144237 Compare September 18, 2019 08:10
@hkaiser hkaiser force-pushed the fixing_1403 branch 2 times, most recently from 9ec5b73 to cdf91a1 Compare September 24, 2019 20:30
sithhell and others added 2 commits September 25, 2019 12:16
Fixes #1403 by allowing the use of hpx::util::get with std::tuple and
std::get with hpx::util::tuple::get. Same goes for the utilities
tuple_size and tuple_element.
An additional conversion operator from hpx::util::tuple<Ts..> to
std::tuple<Ts..> has been added to make the two types interchangable.

Flyby: Making the datastructures unit test only depend on itself and
hpx_testing: Adding hpx/traits/is_tuple_like.hpp
…ADL barrier

- adding option to disable the integration of hpx::tuple with std::tuple
- flyby: fixing default value for HPX_FILESYSTEM_WITH_BOOST_FILESYSTEM_COMPATIBILITY
@hkaiser hkaiser added this to the 1.4.0 milestone Sep 25, 2019
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.

@sithhell sithhell merged commit c527771 into master Sep 26, 2019
@sithhell sithhell deleted the fixing_1403 branch September 26, 2019 08:37
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.

Make std::tuple tuple-like for HPX
4 participants