clude/algorithm_test_utils.hpp¶
See Public API for a list of names and headers that are part of the public HPX API.
Functions
-
template<typename
ExpectedValType
, typenameEnv
= hpx::execution::experimental::empty_env, typenameSender
>
voidcheck_value_types
(Sender&&)¶
-
template<typename
ExpectedErrorType
, typenameEnv
= hpx::execution::experimental::empty_env, typenameSender
>
voidcheck_error_types
(Sender&&)¶
-
template<bool
Expected
, typenameEnv
= hpx::execution::experimental::empty_env, typenameSender
>
voidcheck_sends_stopped
(Sender&&)¶ Check that the sends_stopped of a sender matches the expected value.
-
struct
void_sender
¶ Friends
-
template<typename
R
>
operation_state<R>tag_invoke
(hpx::execution::experimental::connect_t, void_sender, R &&r)¶
-
template<typename
Env
>
autotag_invoke
(hpx::execution::experimental::get_completion_signatures_t, void_sender const&, Env)¶
-
template<typename
R
>
structoperation_state
¶ -
Friends
-
void
tag_invoke
(hpx::execution::experimental::start_t, operation_state &os)¶
-
void
-
template<typename
-
template<typename ...
Ts
>
structerror_sender
¶ Friends
-
template<typename
R
>
operation_state<R>tag_invoke
(hpx::execution::experimental::connect_t, error_sender, R &&r)¶
-
template<typename
Env
>
autotag_invoke
(hpx::execution::experimental::get_completion_signatures_t, error_sender const&, Env)¶
-
template<typename
R
>
structoperation_state
¶ -
Friends
-
void
tag_invoke
(hpx::execution::experimental::start_t, operation_state &os)
-
void
-
template<typename
-
struct
stopped_sender
¶ Friends
-
template<typename
R
>
operation_state<R>tag_invoke
(hpx::execution::experimental::connect_t, stopped_sender, R &&r)¶
-
template<typename
Env
>
autotag_invoke
(hpx::execution::experimental::get_completion_signatures_t, stopped_sender const&, Env)¶
-
template<typename
R
>
structoperation_state
¶ -
Friends
-
void
tag_invoke
(hpx::execution::experimental::start_t, operation_state &os)
-
void
-
template<typename
-
template<typename
F
>
structcallback_receiver
¶ -
Friends
-
template<typename
E
>
voidtag_invoke
(hpx::execution::experimental::set_error_t, callback_receiver&&, E&&)¶
-
void
tag_invoke
(hpx::execution::experimental::set_stopped_t, callback_receiver&&)¶
-
template<typename ...
Ts
>
autotag_invoke
(hpx::execution::experimental::set_value_t, callback_receiver &&r, Ts&&... ts)¶
-
template<typename
-
template<typename
F
>
structerror_callback_receiver
¶ Public Members
-
bool
expect_set_value
= false¶
Friends
-
template<typename
E
>
voidtag_invoke
(hpx::execution::experimental::set_error_t, error_callback_receiver &&r, E &&e)¶
-
void
tag_invoke
(hpx::execution::experimental::set_stopped_t, error_callback_receiver&&)¶
-
template<typename ...
Ts
>
voidtag_invoke
(hpx::execution::experimental::set_value_t, error_callback_receiver &&r, Ts&&...)¶
-
bool
-
struct
expect_stopped_receiver
¶ -
Friends
-
template<typename ...
Ts
>
voidtag_invoke
(hpx::execution::experimental::set_value_t, expect_stopped_receiver&&, Ts...)¶
-
void
tag_invoke
(hpx::execution::experimental::set_stopped_t, expect_stopped_receiver &&r)¶
-
void
tag_invoke
(hpx::execution::experimental::set_error_t, expect_stopped_receiver&&, std::exception_ptr)¶
-
template<typename ...
-
template<typename
F
>
structvoid_callback_helper
¶
-
template<typename
T
>
structerror_typed_sender
¶ Friends
-
template<typename
R
>
autotag_invoke
(hpx::execution::experimental::connect_t, error_typed_sender&&, R &&r)¶
-
template<typename
Env
>
autotag_invoke
(hpx::execution::experimental::get_completion_signatures_t, error_typed_sender const&, Env)¶
-
template<typename
R
>
structoperation_state
¶ -
Friends
-
void
tag_invoke
(hpx::execution::experimental::start_t, operation_state &os)
-
void
-
template<typename
-
struct
check_exception_ptr
¶
-
struct
custom_sender_tag_invoke
¶ -
Friends
-
template<typename
R
>
operation_state<R>tag_invoke
(hpx::execution::experimental::connect_t, custom_sender_tag_invoke&&, R &&r)¶
-
template<typename
Env
>
autotag_invoke
(hpx::execution::experimental::get_completion_signatures_t, custom_sender_tag_invoke const&, Env)¶
-
template<typename
-
struct
custom_sender
¶ Subclassed by custom_sender2
Public Types
Public Members
Public Static Attributes
-
constexpr bool
sends_stopped
= false¶
Friends
-
template<typename
R
>
autotag_invoke
(hpx::execution::experimental::connect_t, custom_sender &&s, R &&r)¶
-
template<typename
Env
>
autotag_invoke
(hpx::execution::experimental::get_completion_signatures_t, custom_sender const&, Env)¶
-
template<typename
R
>
structoperation_state
¶ -
Friends
-
void
tag_invoke
(hpx::execution::experimental::start_t, operation_state &os)
-
void
-
constexpr bool
-
template<typename
T
>
structcustom_typed_sender
¶ Public Members
Friends
-
template<typename
R
>
autotag_invoke
(hpx::execution::experimental::connect_t, custom_typed_sender &&s, R &&r)¶
-
template<typename
Env
>
autotag_invoke
(hpx::execution::experimental::get_completion_signatures_t, custom_typed_sender const&, Env)¶
-
template<typename
-
struct
custom_sender2
: public custom_sender¶ Public Functions
-
custom_sender2
(custom_sender s)¶
-
-
template<typename
T
>
structcustom_type
¶
-
struct
custom_type_non_default_constructible
¶ Public Functions
-
custom_type_non_default_constructible
()¶
-
custom_type_non_default_constructible
(int x)¶
-
custom_type_non_default_constructible
(custom_type_non_default_constructible&&)¶
-
custom_type_non_default_constructible
(custom_type_non_default_constructible const&)¶
-
custom_type_non_default_constructible &
operator=
(custom_type_non_default_constructible const&)¶
Public Members
-
int
x
¶
-
-
struct
custom_type_non_default_constructible_non_copyable
¶ Public Functions
-
custom_type_non_default_constructible_non_copyable
()¶
-
custom_type_non_default_constructible_non_copyable
(int x)¶
-
custom_type_non_default_constructible_non_copyable
(custom_type_non_default_constructible_non_copyable&&)¶
-
custom_type_non_default_constructible_non_copyable &
operator=
(custom_type_non_default_constructible_non_copyable&&)¶
-
custom_type_non_default_constructible_non_copyable
(custom_type_non_default_constructible_non_copyable const&)¶
Public Members
-
int
x
¶
-
-
struct
scheduler
¶ Subclassed by scheduler2
Public Members
Friends
-
sender
tag_invoke
(hpx::execution::experimental::schedule_t, scheduler s)¶
-
struct
sender
¶ Friends
-
template<typename
Env
>
autotag_invoke
(hpx::execution::experimental::get_completion_signatures_t, sender const&, Env)¶
-
template<typename
R
>
structoperation_state
¶ -
Friends
-
void
tag_invoke
(hpx::execution::experimental::start_t, operation_state &os)
-
void
-
template<typename
-
sender