hpx::unwrap_n

Contents

hpx::unwrap_n#

Defined in header hpx/unwrap.hpp.

See Public API for a list of names and headers that are part of the public HPX API.

See also:

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

An alternative version of hpx::unwrap(), which unwraps the given arguments to a certain depth of hpx::future like objects.

See unwrap for a detailed description.

Template Parameters:

Depth – The count of hpx::future like objects which are unwrapped maximally.