Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::execution::just

      From cppreference.com
      <cpp‎ |execution
       
       
      Execution control library
       
      Defined in header<execution>
      struct just_t{/*unspecified*/};
      (1)(since C++26)
      inlineconstexpr just_t just{};
      (2)(since C++26)
      (customization point object)
      Call signature
      execution::senderauto just(auto&&...values);
      (since C++26)

      A sender factory that returns a sender which completes immediately by calling the receiver’sset_value().

      Letts be a pack of subexpressions. The expressionjust(ts...) isexpression-equivalent to/*make-sender*/(just,/*product-type*/(ts...))

      Customization point objects

      The nameexecution::just 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::just_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/just&oldid=179213"

      [8]ページ先頭

      ©2009-2026 Movatter.jp