Sunshine0.0.5917
Sunshine 0.0.5917
Self-hosted game stream host for Moonlight.
Loading...
Searching...
No Matches
input::transparent_string_hash_t Struct Reference

Hash string-like session identifiers without allocating temporary strings. More...

Public Types

using is_transparent = void
 Enable heterogeneous unordered-map lookup.

Public Member Functions

std::size_t operator() (const std::string_view value) const noexcept
 Hash a string view.

Detailed Description

Hash string-like session identifiers without allocating temporary strings.

Member Function Documentation

◆ operator()()

std::size_t input::transparent_string_hash_t::operator() ( const std::string_view value) const
inlinenoexcept

Hash a string view.

Parameters
valueSession identifier to hash.
Returns
Hash value for the supplied identifier.

The documentation for this struct was generated from the following file: