15
15
#include < hpx/execution/traits/is_execution_policy.hpp>
16
16
#include < hpx/executors/annotating_executor.hpp>
17
17
#include < hpx/functional/tag_invoke.hpp>
18
+ #include < hpx/functional/traits/is_invocable.hpp>
18
19
#include < hpx/properties/property.hpp>
19
20
20
21
#include < string>
@@ -29,7 +30,7 @@ namespace hpx::execution::experimental {
29
30
template <typename ExPolicy,
30
31
HPX_CONCEPT_REQUIRES_ (
31
32
hpx::is_execution_policy_v<ExPolicy> &&
32
- hpx::functional::is_tag_invocable_v <
33
+ hpx::is_invocable_v <
33
34
hpx::execution::experimental::with_annotation_t ,
34
35
typename std::decay_t <ExPolicy>::executor_type,
35
36
const char *>
@@ -50,7 +51,7 @@ namespace hpx::execution::experimental {
50
51
template <typename ExPolicy,
51
52
HPX_CONCEPT_REQUIRES_ (
52
53
hpx::is_execution_policy_v<ExPolicy> &&
53
- hpx::functional::is_tag_invocable_v <
54
+ hpx::is_invocable_v <
54
55
hpx::execution::experimental::with_annotation_t ,
55
56
typename std::decay_t <ExPolicy>::executor_type,
56
57
std::string>
@@ -72,7 +73,7 @@ namespace hpx::execution::experimental {
72
73
template <typename ExPolicy,
73
74
HPX_CONCEPT_REQUIRES_ (
74
75
hpx::is_execution_policy_v<ExPolicy> &&
75
- hpx::functional::is_tag_invocable_v <
76
+ hpx::is_invocable_v <
76
77
hpx::execution::experimental::get_annotation_t ,
77
78
typename std::decay_t <ExPolicy>::executor_type>
78
79
)>
0 commit comments