Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@marcorubini
Copy link
Contributor

kumi::to_ref constructs a tuple of references given a reference to a tuple.

Given an expression e s.t decltype((e)) models kumi::product_type, kumi::to_ref(e) is expression equivalent to

kumi::apply([](auto&&... elems){ return kumi::forward_as_tuple(KUMI_FWD(elems)...); }, e)

@jfalcou jfalcou merged commit 3f28a34 into jfalcou:main Apr 10, 2022
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

Successfully merging this pull request may close these issues.

2 participants