hpx/futures/futures_factory.hpp¶
See Public API for a list of names and headers that are part of the public HPX API.
-
namespace
hpx
-
namespace
lcos
-
namespace
local
-
template<typename
Result
, boolCancelable
>
classfutures_factory
<Result(), Cancelable>¶ Public Functions
-
futures_factory
()¶
-
template<typename
F
, typenameEnable
= std::enable_if_t<!std::is_same_v<std::decay_t<F>, futures_factory>>>futures_factory
(F &&f)¶
-
futures_factory
(Result (*f)())¶
-
~futures_factory
()¶
-
futures_factory
(futures_factory const &rhs)¶
-
futures_factory &
operator=
(futures_factory const &rhs)¶
-
futures_factory
(futures_factory &&rhs)¶
-
futures_factory &
operator=
(futures_factory &&rhs)¶
-
void
operator()
() const¶
-
threads::thread_id_ref_type
apply
(const char *annotation = "futures_factory::apply", launch policy = launch::async, error_code &ec = throws) const¶
-
threads::thread_id_ref_type
apply
(threads::thread_pool_base *pool, const char *annotation = "futures_factory::apply", launch policy = launch::async, error_code &ec = throws) const¶
-
hpx::future<Result>
get_future
(error_code &ec = throws)¶
-
constexpr bool
valid
() const¶
-
-
template<typename
-
namespace
-
namespace