最終更新日時(UTC):
が更新

履歴 編集

function template
<memory>

std::owner_hash::operator()(C++26)

template <class T>
size_t operator()(const shared_ptr<T>& key) const noexcept; // (1) C++26

template <class T>
size_t operator()(const weak_ptr<T>& key) const noexcept;   // (2) C++26

概要

所有権ベースでのハッシュ値を取得する。

戻り値

return key.owner_hash();

バージョン

言語

  • C++26

関連項目

参照