| 607 | // @post flatten(@a result) == @a flat_tuple |
| 608 | template <class FlatTuple, class TargetProfile> |
| 609 | CUTE_HOST_DEVICE constexpr |
| 610 | auto |
| 611 | unflatten(FlatTuple const& flat_tuple, TargetProfile const& target_profile) |
| 612 | { |
| 613 | auto [unflatten_tuple, flat_remainder] = detail::unflatten_impl(flat_tuple, target_profile); |
| 614 | CUTE_STATIC_ASSERT_V(rank(flat_remainder) == Int<0>{}); |
| 615 | return unflatten_tuple; |
| 616 | } |
| 617 | |
| 618 | // |
| 619 | // insert and remove and replace |
nothing calls this directly
no test coverage detected