hpx::make_exceptional_future

hpx::make_exceptional_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 T>
future<T> hpx::make_exceptional_future(std::exception_ptr const &e)#

Creates a pre-initialized future object which holds the given error (extension)

template<typename T, typename E>
future<T> hpx::make_exceptional_future(E e)#

Creates a pre-initialized future object which holds the given error (extension)