template <std::size_t Depth, typename T>
auto unwrapping_n(T&& callable)
    -> decltype(util::detail::
                    functional_unwrap_depth_impl<
                        Depth>(
                        static_cast<
                            decltype(callable)&&>(
                            callable)))

Description

Returns a callable object which unwraps its arguments upon invocation using the pika::unwrap_n() function and then passes the result to the given callable object. See pika::unwrapping() for a detailed description.

Declared at: libs/pika/pack_traversal/include/pika/pack_traversal/unwrap.hpp:188

Parameters

T&& callable