Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::execution::stopped_as_error

      From cppreference.com
      <cpp‎ |execution
       
       
      Execution control library
       
      Defined in header<execution>
      template<std::move_constructible Error>
      execution::senderauto stopped_as_error( execution::senderauto snd, Error err);
      (since C++26)

      [edit]Parameters

      snd - input sender of which the stopped channel is mapped intoerr
      err - error to which the stop channel is mapped into

      [edit]Return value

      Returns a sender that maps the stopped channel to an error oferr.

      [edit]Example

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

      [8]ページ先頭

      ©2009-2026 Movatter.jp