hpx::make_shared_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>
hpx::shared_future<R> hpx::make_shared_future(hpx::future<R> &&f) noexcept#

Converts any future or shared_future of type T to a corresponding shared_future of type T.

template<typename R>
hpx::shared_future<R> &hpx::make_shared_future(hpx::shared_future<R> &f) noexcept#

Converts any future or shared_future of type T to a corresponding shared_future of type T.

template<typename R>
hpx::shared_future<R> &&hpx::make_shared_future(hpx::shared_future<R> &&f) noexcept#

Converts any future or shared_future of type T to a corresponding shared_future of type T.

template<typename R>
hpx::shared_future<R> const &hpx::make_shared_future(hpx::shared_future<R> const &f) noexcept#

Converts any future or shared_future of type T to a corresponding shared_future of type T.