template <std::size_t Depth, typename... Args>
auto unwrap_n(Args&&... args)
    -> decltype(util::detail::unwrap_depth_impl<
                Depth>(
        static_cast<decltype(args)&&>(args)...))

Description

An alterntive version of pika::unwrap(), which unwraps the given arguments to a certain depth of pika::future like objects. See unwrap for a detailed description.

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

Parameters

Args&&... args