Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::execution::schedule,std::execution::schedule_result_t

      From cppreference.com
      <cpp‎ |execution
       
       
      Execution control library
       
      Defined in header<execution>
      struct schedule_t{/*unspecified*/};
      (1)(since C++26)
      inlineconstexpr schedule_t schedule{};
      (2)(since C++26)
      (customization point object)
      Call signature
      execution::senderauto schedule( execution::schedulerauto sch);
      (since C++26)
      Helper result types
      template< execution::scheduler Sch>
      using schedule_result_t= decltype(schedule(std::declval<Sch>()));
      (3)(since C++26)

      Obtains a sender describing the start of a task graph on the provided scheduler.

      For a subexpressionsch, the expressionschedule(sch) isexpression-equivalent tosch.schedule().

      Customization point objects

      The nameexecution::schedule denotes acustomization point object, which is a constfunction object of aliteralsemiregular class type. The cv-unqualified version of its type is a tag type denoted asexecution::schedule_t. SeeCustomizationPointObject for details.

      [edit]Example

      This section is incomplete
      Reason: no example
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/execution/schedule&oldid=177020"

      [8]ページ先頭

      ©2009-2025 Movatter.jp