std::execution::schedule, std::execution::schedule_result_t
From cppreference.com
C++
Feature test macros (C++20)
Concepts library (C++20)
Metaprogramming library (C++11)
Ranges library (C++20)
Filesystem library (C++17)
Concurrency support library (C++11)
Execution control library (C++26)
Execution control library
schedule
schedule_result_t
schedule_result_t
Defined in header
<execution>
struct schedule_t { /*unspecified*/ };
(1)
(since C++26)
inline constexpr schedule_t schedule{};
(2)
(since C++26) (customization point object)
Call signature
execution::sender auto schedule( execution::scheduler auto sch );
(since C++26)
Helper result types
template< execution::scheduler Sch >
using schedule_result_t = decltype(schedule(std::declval <Sch>()));
(3)
(since C++26)
using schedule_result_t = decltype(schedule(std::declval <Sch>()));
Obtains a sender describing the start of a task graph on the provided scheduler.
For a subexpression sch, the expression schedule(sch) is expression-equivalent to sch.schedule().
Customization point objects
The name execution::schedule
denotes a customization point object, which is a const function object of a literal semiregular
class type. The cv-unqualified version of its type is a tag type denoted as execution::schedule_t
. See CustomizationPointObject for details.
[edit] Example
This section is incomplete
Reason: no example
Reason: no example