Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::hash<std::coroutine_handle>

      From cppreference.com
      <cpp‎ |coroutine‎ |coroutine handle
       
       
      Utilities library
       
      Coroutine support
      Coroutine traits
      Coroutine handle
      No-op coroutines
      Trivial awaitables
      Range generators
      (C++23)
       
       
      Defined in header<coroutine>
      template<class Promise>
      struct hash<std::coroutine_handle<Promise>>;
      (since C++20)

      The template specialization ofstd::hash forstd::coroutine_handle allows users to obtain hashes of objects of typestd::coroutine_handle<P>.

      operator() of the specialization is noexcept.

      [edit]Example

      This section is incomplete
      Reason: no example

      [edit]See also

      (C++11)
      hash function object
      (class template)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/coroutine/coroutine_handle/hash&oldid=166080"

      [8]ページ先頭

      ©2009-2025 Movatter.jp