Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::execution::on

      From cppreference.com
      <cpp‎ |execution
       
       
      Execution control library
       
      Defined in header<execution>
      execution::senderauto on( execution::schedulerauto sched,
                                 execution::senderauto snd);
      (since C++26)

      [edit]Parameters

      sched - provides execution agent on which the sender will be executed
      snd - work to be executed on the execution resource associated with sched

      [edit]Return value

      Returns a sender which, when started, will start the provided sender on an execution agent belonging to the execution resource associated with the provided scheduler.

      The returned sender has no completion schedulers.

      [edit]Example

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

      [8]ページ先頭

      ©2009-2025 Movatter.jp