hpx::make_future#

Defined in header hpx/future.hpp.

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

See also:

template<typename R, typename U>
hpx::future<R> hpx::make_future(hpx::future<U> &&f)#

Converts any future of type U to any other future of type R based on an existing conversion path from U to R.

template<typename R, typename U, typename Conv>
hpx::future<R> hpx::make_future(hpx::future<U> &&f, Conv &&conv)#

Converts any future of type U to any other future of type R based on a given conversion function: R conv(U).

template<typename R, typename U>
hpx::future<R> hpx::make_future(hpx::shared_future<U> f)#

Converts any shared_future of type U to any other future of type R based on an existing conversion path from U to R.

template<typename R, typename U, typename Conv>
hpx::future<R> hpx::make_future(hpx::shared_future<U> f, Conv &&conv)#

Converts any future of type U to any other future of type R based on an existing conversion path from U to R.